Hi there ..
I want to search for a user in which is a member of an organization unit (ou) but I get no users out at all. this is what I wrote:
(&(objectClass=user)(ou=Develop)) and I want to show all the users who are a members of develop. is my syntax wrong?
Make the search base pointing to the ou, not in the filter, like this (if you are searching the defaultnamingcontext partition).
[tt] <LDAP://ou=develop,dc=xyz,dc=com>[/tt]
In the filter, the familiar class and category.
[tt] (&(objectCategory=person)(objectClass=user))[/tt]
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.