Hi... guys

i have a LDAP server and its has a group called .

cn=internal ou=group,dc=example,dc=com

--users of this group is :

uid=user1,ou=user,dc=example,dc=com
uid=user2,ou=user,dc=example,dc=com

i need to only to authenticate the users under cn=internal ....

LDAP search for the cn=internal group as follows ,

dn: cn=internal,ou=group,dc=example,dc=com
objectClass: groupOfNames
objectClass: top
cn: internal
member: uid=user1,ou=user,dc=example,dc=com
member: uid=user2,ou=user,dc=example,dc=com

member: uid=user3,ou=user,dc=example,dc=com

member: uid=user4,ou=user,dc=example,dc=com


by the way All the users are stored at  base OU=user,DC=example,DC=com



This is what we are using

(&(objectClass=groupOfNames)(memberOf=CN=internal,OU=group,DC=example,DC=com))

seems like its not working ..

what the LDAP search filter i need to use to get only the members of the cn=internal group  authenticated...


Thanks