title: Java ldap Search - Get all group members by group cn as input and filter members based on attribute
body: <p>Have a group like this,</p>
  
  <pre><code>dn: cn=Sample,ou=Groups,o=abc.com
  objectClass: top
  objectClass: groupOfNames
  member: uid=guy1@mail.com,ou=People,o=abc.com
  owner: uid=guy2@mail.com,ou=People,o=abc.com
  </code></pre>
  
  <p>And member and owner details like this,</p>
  
  <pre><code>dn: uid=guy1@mail.com,ou=People,o=abc.com
  objectClass: abcEmployee
  objectClass: abcPerson
  objectClass: abcOrgPerson
  special: specialPerson or normalPerson
  </code></pre>
  
  <p>So i want to grab status yes/no ,if the group owners and members are special or normal person or mixed in one shot.</p>
  
  <p>Currently doing this check with two ldap search.</p>
  
  <ol>
  <li>Getting all the members and owners from the group but cn as input.</li>
  <li>pass users one by one and finding out the status of special attribute and consolidate</li>
  </ol>
  
  <p>Is there any way i can do it in one ldap search query. Please help...</p>