Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Searching LDAP directory using PuTTY

Status
Not open for further replies.

CGreenMTU

Programmer
May 27, 2004
61
US
hi, i'm a newbie when it comes to LDAP (in the process of learning). I'm using PuTTY to test some search queries, etc....and i'm having problems accessing a few objectClasses. The directory is for a college and it stores information about students, faculty, staff, which would include name, department, curriculum, phone#, e-mail, url, etc...

Our object classes include:
posixAccount
inetOrgPerson
inetlocalmailrecipient
organizational
account
eiuEduPerson

When I do a search query in PuTTY, the only info I can retrieve are those from the posixAccount, account, & inetlocalmailrecipient.

an example of a command i would use is:
ldapsearch -L -h servername -b dc=eiu,dc=edu "(uid=cucjg1)" cn sn uid mailRoutingAddress

If i include any attributes related to any other objectClasses, then returned search shows nothing.

can anyone help me?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top