revert LdapAddCommand changes