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 = ads
workgroup = domainname
password server = AD_server_of_the_domain
realm = realm_name
2
Run the following command to backup your existing secrets.tdb file:
# mv -f pvtdir/secrets.tdb pvtdir/secrets.tdb.OLD
where pvtdir is the private directory of your Samba installation.
3
Copy the secrets.tdb file created in the locks file system to the private
directory of your Samba installation:
# cp -f mntpt/cifs/secrets.tdb pvtdir/secrets.tdb
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 are being shared via CIFS
protocol.
You can configure both CNFS and CIFS at the same time by running the cfsshare
config -p all command.
# cfsshare config -p all -m ads -l /var/run \
-c /etc/samba/smb.conf -t /usr -s sfstest-ad -d \
SFSTEST-AD2 -r SFSTEST-AD2.LOCAL -u Administrator \
lockdg lockvol /locks
Administering Common Internet File System
To be able to access a CIFS exported file system from a Windows client you must
first add a Virtual IP. You must specify this Virtual IP while sharing a file system
via CIFS.
Adding a virtual IP:
cfsshare addvip device address netmask [networkhosts]
Common Internet File System
Administering Common Internet File System
166