title: How do I query an organizational unit for its groups with LDAP?
body: <p>I have tried many queries, but this gets me my OU:</p>
  
  <p><code>(&amp;(objectCategory=organizationalUnit)(Name=MyOU))</code> (I just get the ou here)</p>
  
  <p>I tried to use <code>(&amp;(objectCategory=organizationalUnit)(objectClass=group)(Name=MyOU))</code> but failed.</p>
  
  <p>Also, <code>(&amp;(objectCategory=Group)(cn=MyOU,dc=mytop,dc=mysuffix))</code> and failed.</p>
  
  <p>I am trying to get the groups within the OU.  I have searched a lot but cannot come up with it.  How do I find the groups within the OU?  I have a routine that will print out the groups.  I just can't get the query right.</p>
  
  <p>Thank you for any help.</p>