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

LDAP attribute for Active Directory search..

Status
Not open for further replies.

joe131

Programmer
Oct 27, 2006
3
US
Hi All,

I'm trying to use IDirectorySearch with Active Directory.
I use (objectClass=*) and "distinguishedName" to query
for everything.

What I'm looking for though, is an attribute, that I can add
along with "distinguishedName", that can describe the
Object, like "Group", "User", "Domain" or "Organizational Unit". Is there such an attribute that I could use?

"cn" just gives what's already in the "distinguishedName",
and "description" is too long.

Thanks
 
pull out the specific objectClass attribute for each object you touch. This will then report back the distinguishedName, along with something for example like top;organizationalPerson;user or top;group or top;organizationalUnit


-Brandon Wilson
MCSE00/03, MCSA:Messaging00, MCSA03, A+
Manager - Global AD Operations
ACS, Inc.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top