Long time Hyena user and big fan of this forum with a couple of questions around an LDAP query:
I want a query to find out of any users exist that are a member of two groups, Domain Admins and GP - VPN Access US. I'm thinking that this query would work, but it doesn't return any results (when I know some exist):
(&(objectClass=user)(objectCategory=person)(memb er Of=cn=Domain Admins,cn=Users,dc=Contoso,dc=com)(memberOf=cn=GP - VPN Access US,dc=Groups,dc=Contoso,dc=com))
Is the issue the presence of spaces in the group? What would be the proper syntax?
On a related note, are wildcards supported? This didn't fly either:
(&(objectClass=user)(objectCategory=person)(memb er Of=cn=Domain Admins,cn=Users,dc=Contoso,dc=com)(memberOf=cn=GP* ,dc=Contoso,dc=com))
I want a query to find out of any users exist that are a member of two groups, Domain Admins and GP - VPN Access US. I'm thinking that this query would work, but it doesn't return any results (when I know some exist):
(&(objectClass=user)(objectCategory=person)(memb er Of=cn=Domain Admins,cn=Users,dc=Contoso,dc=com)(memberOf=cn=GP - VPN Access US,dc=Groups,dc=Contoso,dc=com))
Is the issue the presence of spaces in the group? What would be the proper syntax?
On a related note, are wildcards supported? This didn't fly either:
(&(objectClass=user)(objectCategory=person)(memb er Of=cn=Domain Admins,cn=Users,dc=Contoso,dc=com)(memberOf=cn=GP* ,dc=Contoso,dc=com))
Comment