title: using wildcards in LDAP search filters/queries
body: <p>I have very limited knowledge in AD and LDAP queries so I have a simple question on how to use wildcards.</p>
  
  <p>Supposed there is object with a displayName of "ITSM - Problem Management"</p>
  
  <p>My current implementation of the filter with a wildcard is as such:</p>
  
  <pre><code>(displayName=SEARCHKEYWORD*)
  </code></pre>
  
  <p>If a user would enter a keyword of "Problem", he wouldn't be able to find the object since it needs the first part of the name, that is "ITSM - "</p>
  
  <p>I would like to implement the wildcard on both ends like below:</p>
  
  <pre><code>(displayName=*SEARCHKEYWORD*)
  </code></pre>
  
  <p>Ideally, this would allow the entry of "Problem" and have it search for "ITSM - Problem Management". But the wildcard doesn't seem to work when you put it at the start. When I tried it, it just seems to hang-up and not return any results.</p>
  
  <p>Any ideas or thoughts on how I can resolve this? Any input would be highly appreciated. Thanks!</p>