Revert ldap changes