5.29.2006

HP-UX CIFS (samba server) implementation

CIFS implementation on HPUX box:


Custom made mount at startup files:

/sbin/init.d/mntcifs

/etc/rc.config.d/mntcifs

/sbin/rc2.d/S910mntcifs

/sbin/rc1.d/K105mntcifs



CIFS Client configuration file:

/etc/opt/cifsclient/cifsclient.cfg


log files:

/var/opt/cifsclient/debug


test kerberos ticket:

/opt/cifsclient/bin/cifsgettkt -s windowsbox1



To mount:

$ mount -F cifs buildsys:/source /home/devl/source

To unmount:

$ umount /home/devl/source



mount -F cifs "windowsbox1:/php share" /cifs_mounts/windowsshare

umount /cifs_mounts/windowsshare



cifslogin windowsbox1 myusername

cifslogout windowsbox1


cifslist -A lists servers with shares and mountpoints

cifslist -U lists users in database

cifslist -M lists mounts in database

cifslist -S lists connected servers

cifslist -s <server> lists shares open at server

cifslist -u <server> lists users logged in at server

cifslist -m <share> lists mountpoints for share


No comments: