AD functionality for ldap search for existing users