Runs queries against LDAP or Active Directory