LDAP-UX Client Services B.05.00 with Microsoft Windows Active Directory Server Administrator's Guide (obsolete beyond B.05.00)
• Make sure the client system can authenticate to the directory and find a user in the directory
by searching for one of your user's information in the directory. Use theldapsearch command
and information from the current profile.
Try searching for a user's information in the directory as the proxy user with a command
similar to following:
cd /opt/ldapux/bin
./ldapsearch-h servername -b "baseDN" -D <proxy user DN> -w\ passwd
unixName=username
using the name of your directory server (from display_profile_cache), search base DN
(from display_profile_cache), proxy user (from ldap_proxy_config -p), proxy
user password, and a user name from the directory.
For example:
cd /opt/ldapux/bin
./ldapsearch -h sys001.hp.com -b -D
"CN=proxyuser,CN=users,DC=cup,DC=hp,DC=com" -w passwd\
unixName=biljonz
You should get output like the following:
dn: CN=John R Bill
Jones,CN=Users,DC=cup,DC=hp,DC=com
accountExpires: 9223372036854775807
badPasswordTime: 0
badPwdCount: 0
codePage: 0
cn: John R Bill Jones
countryCode: 0
instanceType: 4
lastLogoff: 0
lastLogon: 0
logonCount: 0
distinguishedName: CN=John R Bill Jones,CN=Users,DC=cup,DC=hp,DC=com
objectCategory: CN=Person,CN=Schema,CN=Configuration,DC=cup,DC=hp,DC=com
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: user
objectGUID:: m0weqe/tykmLX1yw8Y/QZw==
objectSid:: AQUAAAAAAAUVAAAAEZm5eELHdFIVJa9HtgYAAA==
primaryGroupID: 513
pwdLastSet: 0
name: John R Bill Jones
sAMAccountName: biljonz
sAMAccountType: 805306368
userAccountControl: 546
uSNChanged: 15284
uSNCreated: 15283
whenChanged: 20001222132148.0Z
whenCreated: 20001222132148.0Z
gecos: John R Bill Jones,6394,DEV
gidNumber: 1771
loginShell: /bin/ksh
unixHomeDirectory: /tblv006/home/biljonz
unixName: biljonz
syncNisDomain: cup
uidNumber: 467
If you do not get this output, your proxy user may not be configured properly. Make sure you
have access permissions set correctly for the proxy user. Refer to Section 6.11 (page 129) for
details on configuring the proxy user.
You can also try binding to the directory as the directory administrator and reading the user's
information.
6.19 Troubleshooting 137