NFS Services Administrator's Guide (B.11.31.02) January 2008

1. Log in as superuser.
2. Update the appropriate AutoFS map, as follows:
cdrom -fstype=hsfs, ro :/dev/sr0
For mount devices, If the mount resource begins with a / , it must be preceded by a colon.
For instance in the above section, the CD-ROM device, /dev/sr0, is preceded by the colon.
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–7656) 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 theautomount 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 andautomount objects
To enable LDAP support for AutoFS using the older schema, follow these steps:
60 Configuring and Administering AutoFS