Updating ldap authentication