February 9th, 2010, 01:48 PM
Searching AD using LDAP Filter?
I'm trying to search using an AD using LDAP filter but to no avail.
filter: &(cn=me)(memberOf=CN=dept,OU=dept,OU=group,DC=comp any,DC=local)
This doesn't return a result even though user 'me' is part of the Group. Will greatly appreciate any suggestions. Thanks.
February 9th, 2010, 08:26 PM
I see a couple issues with the filter
1. 'DC=comp any' should probably be 'DC=company'
3. in case you have the DN of the group wrong just search for "(cn=me)" and double check the value of attribute 'memberOf'