My Oracle Support Banner

Deleting an Entry in OID Fails with: [LDAP: error code 66 - Not Allowed On Non-leaf] / or: ldap_delete: Operation not allowed on nonleaf (Doc ID 1337126.1)

Last updated on JUNE 03, 2024

Applies to:

Oracle Internet Directory - Version 11.1.1 and later
Information in this document applies to any platform.

Symptoms

Oracle Internet Directory (OID).

In OID 11g or 12c Oracle Directory Services Manager (ODSM) web gui, right clicking on an entry that has children entries under it, and then selecting Delete option returns the following error:

Delete Failed. Host='<OID_HOSTNAME>' Details:
[LDAP: error code 66 - Not Allowed On Non-leaf]


In OID 10g Oracle Directory Manager (ODM / oidadmin) java client gui, right clicking on an entry that has children under it, and then selecting Delete option returns the same error:

Delete Failed.
Host='<OID_HOSTNAME>'
Details:
[LDAP: error code 66 - Not Allowed On Non-leaf]



Using command line ldapdelete, attempt to delete an entry that has children entries under it fails with same error, for example:

ldapdelete –h <OID_HOSTNAME> –D "cn=orcladmin" -w <PASSWORD> –p <OID_LDAP_NONSSL_PORT> –v "<DN>"
deleting entry: <DN>
ldap_delete: Operation not allowed on nonleaf

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.