update ldap settings.