LDAP-UX Client Services B.04.10 Administrator's Guide (edition 7)

Table 2-4 Attribute Mappings
nisObject Automount AttributeNew Automount Attribute
nisMapnameautomountMapname
cnautomountKey
nisMapEntryautomountInformation
Change the automount search filter for the automount service to the nisObjectsearch
filter. LDAP-UX Client Services uses the automount search filter for the automount service
as a default. The search filter change can be done in step 12 of the Custom Configuration.
If you want to create the nisObject search filter for the automount service to search a
different location in the LDAP directory server, see Custom Configuration (page 38) for
details.
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 5 of the Custom Configuration.
NOTE: You can use the nisObject automount schema without attribute mappings and search
filter changes if only the nisObject automount schema exists in the LDAP directory.
Configuring Name Service Switch
Configure the Name Service Switch (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. See /etc/nsswitch.ldap for a sample.
The following shows the sample file, /etc/nsswitch.ldap:
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
AutoFS Migration Scripts
This section describes the migration scripts which can be used to migrate your AutoFS maps
from files, NIS servers 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 new automount schema defined in RFC 2307-bis to migrate the AutoFS maps to LDIF.
You need to import the new automount schema into your LDAP directory server before you use
these migration scripts to migrate AutoFS maps.
Table 2-4 describes the migration scripts:
60 Installing And Configuring LDAP-UX Client Services