setup the ldap call to either return the user or null