Ldapsearch

With ldapsearch you can do groovy things like test if the fudo LDAP server is up. I believe this command to be universal.

ldapsearch -x -D "uid=reaper,ou=members,dc=fudo,dc=org" -W "(uid=niten)"
reaper@silverstar:~/osm$ ldapsearch -x -D uid=reaper,ou=members,dc=fudo,dc=org" -W "(uid=niten)" Enter LDAP Password: # # dn: uid=niten,ou=members,dc=fudo,dc=org uid: niten objectClass: account objectClass: fudoAccount objectClass: shadowAccount objectClass: posixAccount cn: Niten givenName: Peter sn: Selby uidNumber: 10000 gidNumber: 1000 homeDirectory: /home/niten registeredAddress: 2-7 Roslyn Road postalCode: R3L 0G1 l: Winnipeg st: Manitoba c: CA labeledURI: http://niten.fudo.org mail: niten@fudo.org loginShell: /bin/bash description: Administrator preferredLanguage: en shadowLastChange: 12230 shadowMax: 99999 shadowWarning: 7 fudoGeneration: 0 telephoneNumber: 6048379346  search: 2 result: 0 Success
 * 1) extended LDIF
 * 1) LDAPv3
 * 2) base  (default) with scope subtree
 * 3) filter: (uid=niten)
 * 4) requesting: ALL
 * 1) niten, members, fudo.org
 * 1) search result
 * 1) numResponses: 2
 * 2) numEntries: 1