Re: memberof example using ldap

2016-09-12 Thread John Gordon
In Robert Clove writes: > Hi, > I have to find if user is the member of a group, for this i am using the > following query > (&(objectClass=user)(sAMAccountName=yourUserName) > (memberof=CN=YourGroup,OU=Users,DC=YourDomain,DC=com)) > The above query doesn't work fine even if group doesn't e

memberof example using ldap

2016-09-12 Thread Robert Clove
Hi, I have to find if user is the member of a group, for this i am using the following query (&(objectClass=user)(sAMAccountName=yourUserName) (memberof=CN=YourGroup,OU=Users,DC=YourDomain,DC=com)) (memberof=CN=YourGroup,OU=Users,DC=YourDomain,DC=com)== values from distinguished name of your