Many of the non-LDAP-specific applications that interface with AD (e.g. apps that read in objects or use AD for auth) allow only for specifying an LDAP search filter. The problem with this though is that I can't limit the query anything below the default domain partition level (at least, AFAIK).
In an attempt to address this, I was trying search filters like:
(&(objectClass=user)(objectCategory=person)(distinguishedname=*,OU=MyNamedOU,DC=*))
...however, after it didn't work, I started finding articles about how you can't query based on distinguishedname as it's a constructed attribute.
Regardless, is there a way to limit a query to a specific OU based just in the Search Filter syntax alone?
TIA