fixed ldap auth