title: ldap query: ldapsearch for uniqueMember
body: <p>How can I search for a <em>uniqueMember</em> in an objectClass <em>groupOfUniqueNames</em> within OpenLdap?</p>
  
  <pre><code>dn: cn=group,dc=example,dc=com
  objectclass: groupOfUniqueNames
  cn: group
  uniquemember: uid=member1
  uniquemember: uid=member2
  </code></pre>
  
  <p>I've tried the following with no result:</p>
  
  <blockquote>
    <p>ldapsearch -x -b dc=example,dc=com "(uniqueMember=uid=member1)"</p>
  </blockquote>
  
  <p>Pls help me.</p>