update ldap setting