Re: LDAP search filters using OU not supported?

Tech-Archive recommends: Fix windows errors by optimizing your registry



Richard -

I just found this example of doing a partial match on a DN:

You may want to match part of a DN, for instance when you need to look for your groups in two subtrees of your server.

(&(objectClass=group)(|(ou:dn:=Chicago)(ou:dn:=Miami)))
will find groups with an OU component of their DN which is either 'Chicago' or 'Miami'.

Found at:

http://confluence.atlassian.com/display/DEV/How+to+write+a+LDAP+search+filter

Would that work with AD?


Robert

.