title: Active Directory Query using LDAP Query in custom search
body: <p>Some of the users in the domain I'm working on have no manager assigned or no Job title so I tried to create a new query with this LDAP query in the definequery>customsearch>advanced tab:</p>
  
  <pre><code>(&amp;(objectCategory=user)(objectClass=user))(|(!manager=*)(!title=*)
  </code></pre>
  
  <p>This returns zero results even though I know they exist.  Using the Custom Search creates the same search string and also returns zero results.  I tried this, based on research elsewhere, which also returns zero results.</p>
  
  <pre><code>(&amp;(objectCategory=person)(objectClass=user))(|(!manager=*)(!title=*)
  </code></pre>
  
  <p>What am I doing wrong?</p>
  
  <p>Also I want to search only in specific folders and their subfolders, should I pre-pend this:</p>
  
  <pre><code>(|(OU=Innsbruck)(OU=Totnes)(OU=Dueren))
  </code></pre>
  
  <p>where these are immediately below the domain and each location has its own sub folders of Computers, Groups, Users.</p>