Using the command line

Use the idsldapdelete command to delete a leaf or non-leaf entry.

Procedure

  1. Enter the following command:
    idsldapdelete -D adminDN -w adminPW "cn=John Doe, ou=Austin, o=sample"
    The delete command fails if the entry to be deleted, "cn=John Doe, ou=Austin, o=sample", is not a leaf entry.
  2. To delete a non-leaf entry, use the -s option of the idsldapdelete utility as follows:
    idsldapdelete -D adminDN -w adminPW -s "cn=John Doe, ou=Austin, o=sample"

Results

This command deletes the entry "cn=John Doe, ou=Austin, o=sample" and all the entries that follows it.