https://bugs.openldap.org/show_bug.cgi?id=9531
--- Comment #5 from niko@dwolfix.ru --- The root entry was created by the command: ldapadd -x -D 'cn=admin,dc=example,dc=org' -f root_entry.ldif
Content of the root_entry.ldif file: dn: dc=example,dc=org objectClass: dcObject objectClass: organization dc: example o: Example description: Example directory
dn: cn=root,dc=example,dc=org objectClass: organizationalRole cn: root description: Directory Manager
Trying to delete the root entry: ldapdelete -x -r 'dc=example,dc=org' -D 'cn=admin,dc=example,dc=org' -w admin
Output - dap_delete: No such object (32)