LDAP-UX Client Services B.04.15 Administrator's Guide
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 35) 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.
2.10.4 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
2.10.5 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:
Table 2-5 Migration Scripts
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.
migrate_nisp_autofs.pl
2.10.5.1 Environment Variables
When you use the AutoFS migration scripts to migrate AutoFS maps, set the following
environment variables:
56 Installing And Configuring LDAP-UX Client Services