NFS Services Administrator's Guide (B.11.31.04) March 2009
Supported Backends (Map Locations)
AutoFS maps can be located in the following:
• Files: Local files that store the AutoFS map information for that individual system.
An example of a map that can be kept on the local system is the master map. The
AUTO_MASTER variable in /etc/rc.config.d/nfsconf is set to the name of
the master map. The default master map name is /etc/auto_master.
NOTE: To modify the master map name, use the -f option of the automount
command and specify the filename. The automount command uses the specified
file as the master map.
• Network Information Service (NIS): A service that enables you to administer the
configuration of many hosts from a central location. Common configuration
information, which otherwise has to be maintained separately on each host in a
network without NIS, can now be stored and maintained in a central location and
propagated to all the nodes in the network. For more information on NIS, see NIS
Administrator's Guide (5991–2187) available at: http://docs.hp.com
• LDAP: A directory service that stores information, which is retrieved by clients
throughout the network. To simplify HP-UX system administration, the LDAP-UX
Integration product centralizes user, group, and network information management
in an LDAP directory. For more information on the LDAP-UX Integration product,
see the LDAP-UX Client Services B.04.00 Administrator’s Guide (J4269–90064) available
at: http://docs.hp.com
To configure the system to use one of these backends, follow these steps:
1. Configure the /etc/nsswitch.conf file by modifying the automount entry.
This enables you to specify one or more data stores to look up information (autofs
maps). You can also specify the order in which these data sources are looked up.
The backends can be specified to look up AutoFS maps. For more information on
configuring the /etc/nsswitch.conf file, see nsswitch.conf(4)
2. Configure the AutoFS maps on the specified data store.
Enabling LDAP Support for AutoFS
Before you enable LDAP support for AutoFS determine which schema shall be used
for storing the AutoFS maps. The LDAP administrator can provide this information.
HP-UX supports the following two options for schemas:
• older schema that uses nisMAP and nisObject objects to represent the maps
• new schema that uses automountMap and automount objects
To enable LDAP support for AutoFS using the older schema, follow these steps:
Supported Backends (Map Locations) 73