Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
Enhanced AutoFS Administrator's Guide: HP-UX 11i v1 > Chapter 3 Configuring and Administering AutoFS

Support for HP CIFS Client

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

To enable the automatic mounting and unmounting of CIFS file systems, Enhanced AutoFS supports integration with HP CIFS Client. To enable this feature, you must install and configure HP CIFS Client on the system along with Enhanced AutoFS. For more information on the CIFS Client installation and configuration, see HP CIFS Client Administrator’s Guide.

Enhanced AutoFS supports only the automatic mounting of the CIFS file systems with the direct and indirect maps; it does not support CIFS file system mounts with special or executable map files, or with multiple (replicated) servers.

To use AutoFS with HP CIFS Client, perform the following steps:

  1. Set the file system type mount option, fstype, to cifs in all the CIFS file system mount entries of the AutoFS direct and indirect map files.

  2. The remote system and directory of the CIFS file system mount entries must be a CIFS server and a share exported by the CIFS server, for example, cifsSrv:/share.

  3. Enable the user authentication to the CIFS Server so that users can have access to the mounted CIFS file systems. The options for authentication methods are as follows:

    • Supply a user name and password in the CIFS mount entry of the direct or indirect map file.

    • Enable one of the following CIFS Client automatic login options:

      • Store CIFS user password in the CIFS Client database.

      • Enable guest user support, where all unauthenticated users are automatically logged on as same guest user.

      • Integrate with PAM NTLM cache.

      • Integrate with system Kerberos cache (kinit(1) and PAM Kerberos).

    For more information on CIFS authentication, see Chapter 3 of HP CIFS Client Administrator ‘s Guide.

Example File Entries for CIFS Direct Map Automounts

The following example includes sample lines from an AutoFS direct map on the CIFS client, mammoth. The sharp sign (#) indicates a comment line.

# /etc/auto_direct_cifs file
# local mount point    mount options  remote server:directory

/cifs/mnt1 -fstype=cifs,username=user,password=cifs \ WinSrv1:/cifs-share1

The following example includes sample lines from the AutoFS master map on the CIFS client, mammoth:

# /etc/auto_master file
# local mount point        map name          mount options

/-                       /etc/auto_direct_cifs

Figure 3-8 “Example of CIFS Direct Mounts” illustrates how AutoFS sets up the direct mounts for this configuration.

Figure 3-8 Example of CIFS Direct Mounts

Example of CIFS Direct Mounts

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

Figure 3-9 “Example of CIFS Indirect Mounts” illustrates how AutoFS sets up the indirect mounts for this configuration.

Figure 3-9 Example of CIFS Indirect Mounts

Example of CIFS Indirect Mounts
Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2004 Hewlett-Packard Development Company, L.P.