Veritas Storage Foundation 5.1 SP1 Cluster File System Administrator"s Guide (5900-1738, April 2011)

To complete the CIFS configuration when using the -n option
1
Copy the following lines to your smb.conf file:
security = user
passwd backend = smbpasswd
smbpasswd file = pvtdir/smbpasswd
where pvtdir is the private directory of your Samba installation.
2
Run the following command to backup your existing smbpasswd file:
# cp -f pvtdir/smbpasswd pvtdir/smbpasswd.OLD
3
Create a symlink in pvtdir, that points to the smbpasswd file created in the
locks file system:
# ln -sf mntpt/cifs/smbpasswd pvtdir/smbpasswd
where mntpt is the mount point.
To unconfigure CIFS run the following command:
# cfsshare unconfig -p cifs
Note: The unconfigure operation fails if any file systems or VIPs are being shared
via CIFS protocol. Use the cfsshare delete command to stop sharing the file
systems via CIFS. Use the cfsshare deletevip command to remove the VIPs.
You can configure both CNFS and CIFS at the same time by running the cfsshare
config -p all command.
# cfsshare config -p all -m user -l /var/run \
-c /etc/samba/smb.conf -t /usr lockdg vollocks /locks
Configuring Common Internet File System in domain
mode
This section describes how to configure CIFS in domain mode.
In this mode, user authentication happens on the NT4-style Domain controllers.
The cluster nodes act as member servers in the domain. You must have performed
additional steps to make user and group mapping via winbind work.
Common Internet File System
Configuring Common Internet File System in domain mode
162