ldap format of uid in db lookup for authentication