
Installing And Configuring
Verify the LDAP-UX Client Services
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
Manager”
Verify the LDAP-UX Client Services
This section describes some simple ways you can verify the installation and configuration of your
If any of the following tests fail, see “Troubleshooting” on page 131.
Step 1. Use the nsquery(1)1 command to test the name service:
nsquery lookup_type lookup_query [lookup_policy]
For example, to test the name service switch to resolve a username lookup, enter:
nsquery passwd username ldap
where username is the login name of a valid user whose posix account information is in the directory. You should see output something like the following depending on how you have configured /etc/nsswitch.conf:
1. nsquery(1) is a contributed tool included with the ONC/NFS product.
68 | Chapter 2 |