Need help with an LDAP query.
Scenario is a system will query at login to see if a user is a member of various groups that match an internal config to give various access rights.
So, am trying to get a query that will return all the groups a specified user is a member of, within a specified OU. The OU has 100 or so groups, but each user should only be a member of a few.
Will the following query work?
(&(objectcategory=group)(member=cn=XXX,ou=groups,o u=stores,ou=something else,ou=businessunits,dc=XXX,dc=net))
Don't have access to test/run it to see what it would return unfortunately :/


Reply With Quote


Bookmarks