Hi,

Suppose i have a following LDAP query:
Code:
Base DN: OU=Groups,DC=office,DC=domain,DC=org
Filter: 	(member:1.2.840.113556.1.4.1941:=CN=adam smith,OU=Users,DC=office,DC=domain,DC=org)
I got this far:
Code:
SELECT distinguishedName
FROM 'LDAP:// OU=Groups,DC=office,DC=domain,DC=org' 
WHERE objectCategory='group'
and (member:1.2.840.113556.1.4.1941:=CN=adam smith,OU=Users,DC=office,DC=domain,DC=org)
but the second WHERE condition is obviously wrong... and I con not put it to work