LDAP-UX Client Services B.04.00 with Microsoft Windows 2000/2003 Active Directory Administrator's Guide

Installing LDAP-UX Client Services
Configuring LDAP-UX Client Services
Chapter 246
NOTE • White spaces between numbers are ignored.
• Only one line of the list is accepted; however, the line can be wrapped.
• The maximum number of ranges is 20.
Step 7: Verify LDAP-UX Client Services for Single
Domain
This section describes some simple ways you can verify the installation
and configuration of your LDAP-UX Client Services. You may need to do
more elaborate and detailed testing, especially if you have a large
environment.
1. Use the nsquery (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:
Using "ldap" for the passwd policy.
Searching ldap for jbloggs
User name: jbloggs
user Id: 10000
Group Id: 2000
Gecos:
Home Directory: /home/jbloggs
Shell: /bin/sh
Switch configuration: Terminates Search
This tests the NSS configuration in /etc/nsswitch.conf. If you do
not see output similar to above, check /etc/nsswitch.conf for
proper configuration.
2. Use other commands to display information about users in the
directory, making sure the output is as expected:
pwget -n username