LDAP-UX Client Services B.05.01 Administrator Guide for HP directory servers and Windows ADS

You can save a copy of /etc/nsswitch.conf file and modify the original to add LDAP support
to the automount service. See /etc/nsswitch.ldap for a sample.
The following shows the sample file, /etc/nsswitch.ldap.
NOTE: Windows ADS implementations ignore the netgroup and publickey service declarations
in this file.
passwd: files ldap
group: files ldap
hosts: dns files ldap
networks files ldap
protocols: files ldap
rpc: files ldap
publickey: ldap [NOTFOUND=return] files
netgroup: files ldap
automount: files ldap
aliases: files
services: files ldap
3.5.3.3 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).
3.5.3.4 AutoFS migration scripts
This section describes the migration scripts that can be used to migrate your AutoFS maps from
files to LDIF files. After LDIF files are created, you can use the ldapmodify tool to import LDIF
files to your 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
directory server before you use these migration scripts to migrate AutoFS maps.
Table 14 describes the migration scripts located in the /opt/ldapux/migrate/ads directory:
Table 14 AutoFS migration scripts for Windows ADS
DescriptionMigration Script
Migrates AutoFS maps from files to LDIF.migrate_automount_ads.pl
Migrates AutoFS maps form the NIS server to LDIF.migrate_nis_automount_ads.pl
3.5.3.4.1 Environment variables
When you use the AutoFS migration scripts to migrate AutoFS maps, set the following environment
variables:
LDAP_BASEDN The base distinguished name of the directory server that the AutoFS maps
are to be placed in.
NIS_DOMAINNAME This variable specifies the fully qualified name of the NIS domain where
you want to migrate your data from. This variable is optional. If the NIS
domain name is not specified, LDAP-UX uses the value of the NIS_DOMAIN
parameter configured in the /etc/rc.conf.d/namesvrs file.
This variable is only used by the migrate_nis_automount.pl script.
154 Installing and configuring LDAP-UX Client Services for a Windows ADS environment