Samba configuration on HPUX 11i
May 28, 2009 Leave a comment
Here is a quick step by step to create a SAMBA shared directory on HPUX for windows desktops
1) determine Samba uses its own security file or Active Directory
To use Active Directory and Kerberos for authentication,
Set in smb.conf
[global]
realm = yourdomain.com
security = ADS
To use samba user own security file,
smbpasswd -a usrname (same user name)
Set in smb.conf
[global]
security = user
2) set the share in smb.conf (/etc/opt/samba/smb.conf). You can find examples in the file.
[publicshare1]
comment = Public Samba share 1
path = /media/user/share
valid users = …
write list = ….
read only = Yes
directory mask = 0755
directory security mask = 0755
short preserve case = Yes
3) /sbin/init.d/samba start
4)
Configure samba to autostart in /etc/rc.config.d/samba (first variable set to 1).