LDAP-UX Client Services B.05.00 Administrator's Guide
2.5.3.4.5 The migrate_nisp_autofs.pl script
This script, found in /opt/ldapux/migrate/nisplusmigration, migrates the AutoFS maps
from the NIS+ server to the nisp_automap.ldif file.
2.5.3.4.5.1 Syntax
scriptnameinputfile
2.5.3.4.5.2 Examples
The following commands migrate the AutoFS map /etc/auto_indirect to LDIF and place
the results in the nisp_automap.ldif file:
export LDAP_BASEDN="dc=nishpbnd"
export DOM_ENV ="cup.hp.com"
migrate_nisp_autofs.pl /etc/auto_indirect
The following shows the /etc/auto_indirect file:
#local mount point remote server:directory
lab1 hostA:/tmp
lab2 hostB:/tmp
The following shows the nisp_automap.ldif file:
dn:automountMapName=auto_indirect,dc=nishpbnd
objectClass: top
objectClass: automountMap
automountMapName: auto_indirect
dn:automountKey=lab1, \
automountMapname=auto_indirect, dc=nishpbnd
objectClass: top
objectClass: automount
automountInformation:hostA:/tmp
automountKey: lab1
dn:automountKey=lab2, \
automountMapname=auto_indirect, dc=nishpbnd
objectClass: top
objectClass: automount
automountInformation:hostB:/tmp
automountKey:lab2
You can use the /opt/ldapux/bin/ldapmodify tool to import the LDIF file
nisp_automap.ldif that you just created above into the LDAP directory. For example, the
following command imports the nisp_automap.ldif file to the LDAP base DN "dc=nishpbnd"
in the LDAP directory server LDAPSERV1:
/opt/ldapux/bin/ldapmodify -a -h LDAPSERV1 -D "cn=Directory Manager"
-w <passwd> -f nisp_automap.ldif
2.5.4 Enabling offline credential caching for authentication when the directory server
is unavailable
If contact with the directory server is lost because of a network problem or server crash, LDAP
users cannot log in to the system. This may have a negative impact on the OS and its applications,
especially for mission-critical applications. To enable the OS to continue to properly function
when connection with the directory server is lost, LDAP-UX Client Services 5.0 (or later) provides
an offline credential cache that allows LDAP to continue authenticating users even when contact
with all directory servers is lost. You can enable this feature by configuring several parameters
available in the LDAP-UX client daemon configuration file,
/etc/opt/ldapux/ldapclientd.conf file.
102 Installing and configuring LDAP-UX Client Services