Enhanced AutoFS Administrator's Guide
Configuring and Administering AutoFS
Support for HP CIFS Client
Chapter 358
Example File Entries for CIFS Indirect Map
Automounts
The following example includes sample lines from an AutoFS indirect
map on the CIFS client, mammoth. The sharp sign (#) indicates a
comment.
# /etc/auto_indirect_cifs
# local mount point mount options remote server:directory
cifs_mnt1 -fstype=cifs,username=user1,password=cifs\ WinSrv1:/
cifs-share1
cifs_mnt2 -fstype=cifs,username=user2,password=cifs\ WinSrv2:/
cifs-share2
NOTE AutoFS ignores everything from the sharp sign to the end of the line.
The following example includes sample lines from the AutoFS master
map on the CIFS client, mammoth. The master map also includes an entry
for the direct map, /etc/auto_direct.
# /etc/auto_master file
# local mount point map name mount options
/cifs/desktop /etc/auto_indirect_cifs