Finding GT Accounts Using the Public LDAP Server
Finding GT Accounts Using the Public LDAP Server afrank30Example code of how to retrieve a person's gtaccount (gburdell1) using command line.
Start command
For each of the examples given below, the command will start with this line:
ldapsearch -x -LLL -h whitepages.gatech.edu -b "dc=whitepages,dc=gatech,dc=edu"
For example,
ldapsearch -x -LLL -h whitepages.gatech.edu -b "dc=whitepages,dc=gatech,dc=edu" mail=george.p.burdell@gatech.edu
Use email to find gtaccount
mail=george.p.burdell@gatech.edu
Use unique given or first name
givenName=Adelle
Use unique family/last or surname
sn=Vuchatu
Use part of full name
cn="*Frank,A*"
OR
cn="*Adelle*"
Other ldap variables
Whitepages also lets you narrow your search using other values, such as:
building
: William C Wardlaw CentertelephoneNumber
: 404-385-4275displayName
ORcn
: Burdell,George Ptitle
: Web Developer Sr [job title]objectClass
: luPersonprimaryUid
ORuid
: gburdell1postalAddress
: 0181 [campus mail code]ou
: Institute Communications [department]