By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,369 Members | 950 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,369 IT Pros & Developers. It's quick & easy.

DirectorySearcher doesn't return Active Directory OU's

P: n/a
Dear Reader,

When I try to run the following LDAP filter with the DirectorySearcher
it doesn't return any OU's but when I use it with Active Directory
Users and Computers it returns the desired results:

(&(ou>="")(name=ICTS*))

Furthermore if I use the following Filter the DirectorySearcher
retrieves all OU's:

(&(objectClass=organizationalUnit))

But using the next Filter it doesn't return anything although there
are OU names starting with ICTS:

(&(objectClass=organizationalUnit) (ou=ICTS*) )

nor

(&(objectClass=organizationalUnit) (name=ICTS*) )

Anyone an idea?

Best regards and thanks for your help,
Rémy Samulski

Apr 26 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.