I am testing suid + AD using windows server 2008. I have the following simple structure for now:
+ Test_Users
-----internet_group
--------Matthew Vassallo (user)
-----normal_group
--------Kenneth Grech (user)
I would like to make an ldap query that contains a single common OU but with different groups. The following query worked out well for only one group and one OU:
(&(memberOf=OU=Test_Users,CN=internet_group,DC=matthew,DC=com)(sAMAccountName=%s))
How can I extend that please for more different groups? Thanks