title: LDAP query syntax to compare to a list
body: <p>is there a way to query LDAP with a syntax similar to the "IN" statement in SQL? I mean by providing a list of value instead of repeating the field name again and again.</p>
  
  <p>Let me explain:)</p>
  
  <p>I have a query similar to:  </p>
  
  <pre><code>(|(name=joe)(name=bill)(name=mark)(name=john)(name=rob))
  </code></pre>
  
  <p>Is there a way to shrink this query to get something like this:  </p>
  
  <pre><code>(name=joe,bill,mark,john,rob)
  </code></pre>
  
  <p>Thanks</p>