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 MARCH 08, 2017

Applies to:

Oracle Internet Directory - Version 9.0.4 and later
Information in this document applies to any platform.
***Checked for relevance on 28 Jan 2013***

Symptoms

Oracle Internet Directory (OID).

With OID 11g 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='myoidhost.mycompany.com' Details:
[LDAP: error code 66 - Not Allowed On Non-leaf]


With 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='myoidhost.mycompany.com'
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 myhost.mycompany.com –D "cn=orcladmin" -w <password> –p 389 –v "c=US"
deleting entry: c=US
ldap_delete: Operation not allowed on nonleaf

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms