LDAP-UX Client Services B.05.01 Administrator Guide for HP directory servers and Windows ADS
information about configuring the nisObject search filter for the automount service to search
a different location in the LDAP directory server, see Section 2.4.5.2 (page 72).
If you want to perform attribute mappings or search filter changes by using the Custom
Configuration, ensure that you do not accept the remaining default configuration parameters in
step 4 of the Custom Configuration.
NOTE: You may use the nisObject automount schema without attribute mappings and search
filter changes if only the nisObject automount schema exists in the LDAP directory.
2.5.3.3 Configuring NSS to enable LDAP support for AutoFS
Configure NSS to enable the LDAP support for AutoFS.
You can save a copy of /etc/nsswitch.conf file and modify the original to add LDAP support
to the automount service, as shown in bold in the /etc/nsswitch.ldap example that follows.
See /etc/nsswitch.ldap for another sample.
passwd: files ldap
group: files ldap
hosts: dns files ldap
networks: files
protocols: files
rpc: files
publickey: ldap [NOTFOUND=return] files
netgroup: files
automount: files ldap
aliases: files
services: files
2.5.3.4 Configuring automount caches
To improve performance of automount services, the ldapclient daemon, ldapclientd, caches
automount maps and automount entries in the maps to reduce the LDAP-UX client response time
while retrieving information for automount maps and entries.
To configure automount caches, set the parameters defined in the [automountMap] and
[automount] sections of the /etc/opt/ldapux/ldapclientd.conf file. For more
information, see Section 7.1.3 (page 184).
2.5.3.5 AutoFS migration scripts
This section describes the migration scripts that can be used to migrate your AutoFS maps from
files or NIS servers to LDIF files. After LDIF files are created, you can use the ldapmodify tool to
import LDIF files to your LDAP directory server. These migration scripts use the automount schema
defined in RFC 2307-bis to migrate the AutoFS maps to LDIF. You must import the automount
schema into your LDAP directory server before you use these migration scripts to migrate AutoFS
maps.
Table 11 (page 97) describes the migration scripts:
Table 11 AutoFS Migration scripts for HP directory servers
DescriptionMigration Script
Migrates AutoFS maps from files to LDIF.migrate_automount.pl
Migrates AutoFS maps from the NIS server to LDIF.migrate_nis_automount.pl
Migrates AutoFS maps from NIS+ server to the
nisp_automap.ldif file. As of LDAP-UX Client Services B.05.01,
NIS+ is no longer supported.
migrate_nisp_autofs.pl
2.5 Postinstallation configuration tasks 97