LDAP - Deleting an LDAP entry

To delete an ldif entry, one way is to put an changetype attribute and a value 'delete' in the ldif file
For example
dn: cn=someone,ou=people,dc=abc,dc=com
changetype: deleteobjectClass: inetOrgPerson

Then, run 
ldapmodify -x -D ldap.ldif -x -D "cn=Manager,ou=roles,dc=abc,dc=com" -w your_password

Comments

Popular Posts