- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Samba
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
07-11-2002 04:30 PM
07-11-2002 04:30 PM
Samba
us6.samba.org
package-hppa1.1-hp-hpux10.20
and
samba-2.2.2-hppa1.1-hp-hpux10.20
Do I need the first file?
I installed the second file in /opt/samba per the instructions. The smb.conf file verifies but does have an error that /var/opt/samba/locks is missing. I did install the recommended patch. I am using hpux 10.2x. The smbd and nmbd files execute but I don't see them with ps -e.
Any ideas on how to get Samba working? Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2002 06:17 PM
07-11-2002 06:17 PM
Re: Samba
I'm curious to know how you are invoking samba. Typically, you go to /opt/samba/bin and execute the startsmb script.
If you can't see the daemon processes with a ps -ef, then I'd re-visit your smb.conf file. Try executing the testparm script to see if it executes normally.
If this does not work, then I'd recreate your smb.conf file using the swat utility that comes with Samba.
Just my $.02 worth.
Mike-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2002 10:29 PM
07-11-2002 10:29 PM
Re: Samba
Does /var/opt/samba/locks exists ?. if not create it as root . Then there won't be any problem.
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2002 11:37 PM
07-11-2002 11:37 PM
Re: Samba
Hartmut
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2002 12:40 AM
07-12-2002 12:40 AM
Re: Samba
after installation you should see a samba startscript in /sbin/init.d. I normally use this file to manually start/stop samba.
Also you should have a file /etc/rc.config.d/samba. Please check this file to see if it matches your installation.
When i installed samba 2.2.x i had to manually create the directory /var/opt/samba/locks. This dir looks like:
drwxr-xr-x 2 root sys 1024 Jul 12 10:38 locks
To check your installation and configuration use /opt/samba/bin/testparm.
Also for configuration use swat which comes with samba. Point your webbrowser to http://hostipadress:901.
Hope this helps
Regards Stefan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2002 12:59 AM
07-12-2002 12:59 AM
Re: Samba
As stated above I had to manually create the /var/opt/samba/lock file. Then use the scripts to start samba.
Also make sure the BROADCAST_ADDRESS in /etc/rc.config.d/netconf is set to xxx.xxx.xxx.255 so the pc workgroup can see the samba server in network neighbourhood/my network places.
Jim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2002 01:06 AM
07-12-2002 01:06 AM
Re: Samba
do you start "smbd -D" and "nmbd -D" to make them become a daemon.
you can use "testparm -s" to verify that your smb.conf does not contain errors.
I suspect that samba has problems starting if it cannot put any locks anywhere.
Either create /var/opt/samba/locks or configuer it to be somwhere else with the smb.conf parameter "lock dir = /var/opt/samba/locks"
I guess there might be start-scripts as well to start samba as daemon. Running a daemon is more recommended than using entries in inetd.conf.
BTW one would encounter problems if the daemons are called by inetd besides being run from a startscript.
HTH
Raine
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2002 05:18 AM
07-12-2002 05:18 AM
Re: Samba
U.SiavKumar, creating the locks directory fixed the error with testparms
Hartmut, I made sure the permissions on locks was correct.
Stefan, I am starting the smbd and nmbd manually(deamon), so I don't think I need /sbin/init.d or /etc/rc.config.d/samba. The http://hp3070t1:901 does not work.
Jim, I attached the rc.config.d/netconf file, is it correct?
rainer, I will have to learn more about the smb.conf file. Using a downloaded binary seems to have its disadvantages.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2002 07:24 AM
07-12-2002 07:24 AM
Re: Samba
#smbd -D -d 0 -l
And have a look at the log level for warnings..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2002 07:38 AM
07-12-2002 07:38 AM
Re: Samba
Could you please check if they look like this:
/etc/services:
swat 901/tcp # Samba configuration tool
/etc/inetd.conf:
# SMB connections handled by Samba
swat stream tcp nowait.400 root /opt/samba/bin/swat swat
netbios-ssn stream tcp nowait root /opt/samba/bin/smbd smbd
netbios-ns dgram udp wait root /opt/samba/bin/nmbd nmbd
Also i would first share something simple like /tmp.
As you said it is not necessary to use /sbin/init.d/samba and the rc.config, but i think it makes life a little bit easier.
Hope this helps
Regards Stefan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2002 03:44 PM
07-12-2002 03:44 PM
Re: Samba
Stefan, i added to /etc/services:
swat 901/tcp # Samba configuration tool
This should make the http://localhost:901 work with my browser?
/etc/inetd.conf:
swat stream tcp nowait.400 root /opt/samba/bin/swat swat
I was not sure about the nowait.400. as my file just has wait and nowait.
My problem is now mapping the share on a PC. I am reading about Encrypted passwords and trying to use the accounts I have on the hpux like
root, jstew, user1, user2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2002 04:24 PM
07-12-2002 04:24 PM
Re: Samba
Add the following line in your smb.conf file,
security = user
encrypt passwords = yes
And restart the smbd and nmbd daemons. You will be able to use the shared drive. It will prompt you for user name and password when you try to access the shared drive.
I have this setup in my system and it's working fine. If you have any issues, please post your modified smb.conf file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2002 04:36 PM
07-12-2002 04:36 PM
Re: Samba
[global]
# workgroup = NT-Domain-Name or Workgroup-Name, eg: REDHAT4
netbios name = test1
workgroup = samba
writeable = no
logfile= /var/opt/samba/log.%m
max log size = 1000
security = user
encrypt passwords = yes
# This one is useful for people to share files
[tmp_dir]
path =
#eg: path=/test_fs/test_dir
writeable = no
browseable = yes
When it will prompt for the user name and password enter the unix user name and password. The user account should have the valid permission to access the shared directories.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2002 02:11 PM
07-16-2002 02:11 PM
Re: Samba
Maybe my win2k network card setup for the hp3070 is not setup correctly? I use a hosts file on the hp3070 and on the win98 PC. Would I need this on the win2k PC?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2002 02:21 PM
07-16-2002 02:21 PM
Re: Samba
But in your case you are able to see the share. Are you getting any specific error messages while accessing the shared drvies.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2002 06:06 AM
07-19-2002 06:06 AM
Re: Samba
I have not tried this yet. I have not looked at the network card setup for the hp3070 either.
If I do see the share is the login name used? I login as genrad2 on the win2k machine with a password. My screen shows me as \primustech\jstew. When I try accessing the share, I am not sure what parameters I should use in the net use command. The hp3070 is 192.168.15.10.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2005 02:11 AM
01-05-2005 02:11 AM