troubleshooting Question

LDAP query on AD 2003

Avatar of SflahertyEE
SflahertyEEFlag for United States of America asked on
Microsoft Server OSDatabasesActive Directory
4 Comments3 Solutions230 ViewsLast Modified:
Hi Experts,
I'm having a problem querying an LDAP and had a question. What would be the proper format if I just want to query the domain tree and return info regarding the users. In other words, previously i would query within an OU and get results for users within that OU. But if I want to move up a level and query the domain and get results that list the username, and OU they're in...

So up until this point, my query was as below;
OU=NY, DC=DomainA, DC=local

but what if I want my query string to be just DC=DomainA, DC=local  and return all the users and they're OU's they're associated in.
I was assuming i would use some sort of wildcard character for the OU=   but that hasn't worked...
any ideas?
Rajith Enchiparambil
Office 365 & Exchange Architect

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 3 Answers and 4 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 3 Answers and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros