I'm trying to remove two attributes from LDAP user.
Pseudo command:
ldapdelete -D "uid=username,attribute1,attribute2" -w my_pass -h localhost
How do I do that?
Note: When searching I'm using the following working command:
ldapsearch -D "cn=my-test,ou=Services,dc=foo,dc=com" -w my_pass -h localhost -b "ou=Non-Enterprise,ou=People,dc=foo,dc=com" -s sub -x -ZZ "(uid=username)"
Related:
How do I delete one attribute in LDAP with LDIF?
Sun Java System Directory Server Enterprise Edition 6.0 Administration Guide