- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Samba and HPUX10.20
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2002 10:52 AM
05-14-2002 10:52 AM
I have downloaded the samba pre-compiled version but how do I configure my smb.conf? Using vi?
Also, how do I get Swat to come up via the browser?
I hope it is a case of mental lapse on my part but for some reason I found this difficult.
Thanks,
Nickd
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2002 11:07 AM
05-14-2002 11:07 AM
Re: Samba and HPUX10.20
make sure 901 is listening
# netstat -an | grep 901
look for LISTEN
on your browser
http://yourip:901
The rest is point and click.
Make sure you put "swat allow yourip" in the /var/adm/inetd.sec file.
GL,
C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2002 12:18 PM
05-14-2002 12:18 PM
Re: Samba and HPUX10.20
the browser is much easier, in my opinion. you don't have to sift through everything right away, and only the main stuff is shown at first. you can tell it to show all the options if you want to get complicated. Also, the browser allows you to start/stop and add/remove clients, so it's an all-in-one service. much nicer than manually in vi.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2002 04:18 PM
05-14-2002 04:18 PM
Re: Samba and HPUX10.20
should bring it up.
This presupposes that you are allowing swat to the network address of the workstation you're using, both in inetd.sec (if you have swat defined in this file) and from within the smb.conf file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2002 08:37 PM
05-14-2002 08:37 PM
Re: Samba and HPUX10.20
check /etc/services for entry "swat 901/tcp"
take a copy your default smb.conf . because
SWAT will overwrite this file.
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 06:23 AM
05-15-2002 06:23 AM
Re: Samba and HPUX10.20
What is the syntax?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 06:41 AM
05-15-2002 06:41 AM
Re: Samba and HPUX10.20
take a look at /etc/inetd.conf. It should contain a line
swat stream tcp nowait.400 root /opt/samba/bin/swat swat
and the at /etc/services which should contain
swat 901/tcp # SAMBA Web-based Admin Tool
If those entries are present then simply point your browser at
Regards
Rainer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 06:49 AM
05-15-2002 06:49 AM
Re: Samba and HPUX10.20
I would install the CIFS/9000 Server on the apps cd, i think it is on cd 3.
GL,
C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 07:17 AM
05-15-2002 07:17 AM
Re: Samba and HPUX10.20
Am I restricted to browsing to the SWAT from the IP address that is specified?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 08:17 AM
05-15-2002 08:17 AM
Re: Samba and HPUX10.20
C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2002 09:15 AM
05-28-2002 09:15 AM
Re: Samba and HPUX10.20
I have swat running and configurable now. Thanks.
However, I have created shares via samba, that do not appear on the Windows network.
In fact, I can not map to any of them.
Is there something that I am missing.
Much appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2002 10:37 PM
05-28-2002 10:37 PM
Re: Samba and HPUX10.20
please paste your smb.conf for analysis.
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2002 10:43 PM
05-28-2002 10:43 PM
Re: Samba and HPUX10.20
if your shares don't appear in the windows network first check if they are available. On a windows command box:
net view \\your.server.ip.adress
This should show you all your shares of your samba server. Don't us the netbios name you gave your samba server.
If you can see your shares (which i assume), then samba is set up correctly. Which means that the problem is on the Windows side.
Are you using WINS? Then you have to configure your new samba server in your WINS server. The problem is/seems to be that the netbios name of your samba server is not known in your windows network.
Hope this helps
Regards Stefan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2002 04:06 AM
05-29-2002 04:06 AM
Re: Samba and HPUX10.20
Access is denied.
Do I need to allow an IP address or do I need to do something on the Windows Network side of things?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2002 04:22 AM
05-29-2002 04:22 AM
Re: Samba and HPUX10.20
Also please post your smb.conf file.
Thanks
Stefan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2002 04:25 AM
05-29-2002 04:25 AM
Re: Samba and HPUX10.20
more smb.conf
# Samba config file created using SWAT
# from 10.20.20.75 (10.20.20.75)
# Date: 2002/05/28 14:52:49
# Global parameters
[global]
netbios name = UNIX
server string = Unix home directories
password server = server
syslog = 0
log file = /opt/samba/log.%m
max log size = 1000
local master = No
wins server = 10.20.10.18
short preserve case = No
dos filetime resolution = Yes
[tmp]
path = /tmp
[buder]
path = /home1/buder
username = buder
admin users = nickd,root
[nickd]
comment = Nickd's Home
path = /home1/nickd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2002 04:45 AM
05-29-2002 04:45 AM
Re: Samba and HPUX10.20
I think you are not using any Windows NT PDC as authenticating server. If iam right then password server = server
is the culprit.
Try putting null value to the above line.
password server =
restart samba.
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2002 05:24 AM
05-29-2002 05:24 AM
Re: Samba and HPUX10.20
Access is denied.
An idea/question, do I need to set my samba server in the same domain as the Windows domain name? If so, where do I do this in the netbios name?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2002 05:45 AM
05-29-2002 05:45 AM
Re: Samba and HPUX10.20
this seems like a user/password problem. As you don't have a security= in your smb.conf it is set (default) to security=user. Which means that you have to have the same valid user on both sides (NT and HP-UX).
So you have to be buder, nickd or root on your NT Workstation to connect to your shares.
If you have a different username on NT you should use the guest account. There are settings which read "guest ok" and "guest account". Activate them and give it a try. You might also want to set the security=share. This is less secure but easier to configure because you set all restrictions at the share.
Hope this helps
Regards Stefan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2002 06:51 AM
05-29-2002 06:51 AM
SolutionI didn't see this above, and apologize if it seems stupid, but have you made the samba password file(smbpasswd)? you have to either remake your users in this file or tell samba to look at /etc/passwd before it will use the current UNIX users.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2002 07:06 AM
05-29-2002 07:06 AM
Re: Samba and HPUX10.20
when I try to smbpasswd and create a user/password:
unable to open passdb database.
failed to find entry for user nickd.
failed to modify password for user nickd
I guess the password db needs to be created, but was that not supposed to have been already done?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2002 07:31 AM
05-29-2002 07:31 AM
Re: Samba and HPUX10.20
it's not automatically created; you have to add everyone or map it to /etc/passwd (I don't know how to do this, but it was mentioned somewhere here). to create the file (add a user), use the smbpasswd -a username I think you can take the entire file en masse, but I can't remember how. I'll try to look it up. I spent about half a day myself before I figured out that I had to re-make the usernames.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2002 07:34 AM
05-29-2002 07:34 AM
Re: Samba and HPUX10.20
I made the password the same as my unix password.
I still get the error 5 when trying to net view \\server.ipaddress.
Also, I can not see it via the network neighbourhood.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2002 07:47 AM
05-29-2002 07:47 AM
Re: Samba and HPUX10.20
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2002 07:54 AM
05-29-2002 07:54 AM
Re: Samba and HPUX10.20
Mark