title: Ldap search filter multiple groups - squid
body: <p>I am testing suid + AD using windows server 2008. I have the following simple structure for now:</p>
  
  <pre><code>+ Test_Users
  -----internet_group
  --------Matthew Vassallo (user)
  -----normal_group
  --------Kenneth Grech (user)
  </code></pre>
  
  <p>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:</p>
  
  <pre><code>(&amp;(memberOf=OU=Test_Users,CN=internet_group,DC=matthew,DC=com)(sAMAccountName=%s))
  </code></pre>
  
  <p>How can I extend that please for more different groups? Thanks</p>