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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

LDAP question

Status
Not open for further replies.

katkota

Programmer
Jan 15, 2008
2
US
Folks;
I'm new to LDAP & i'm trying two things i wish i can get a help from any one:

1. I'm able to search our LDAP using the command below:

ldapsearch -H ldap://ldap.abc.com -x -s sub -D 'uid=ic-admin,ou=Directory Admin ,dc=abc,dc=com' -w password -b 'dc=abc,dc=com' -ZZ supportedSASLMechanisms | grep uid

This command above returns all users in LDAP.
Now:
i have a group "cn=TEST" has some users in it with ObjectClass of "groupofuniquenames". how can i use a command to return only the users in this group instead of returning all LDAP users.


Any help is greatly appreciated
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top