[Date Prev][Date Next] [Chronological] [Thread] [Top]

deleting subentry with null root (ITS#1430)

Full_Name: David E. Storey
Version: 2.0.18
OS: Linux 2.4.14
Submission from: (NULL) (

I have a null root configured for OpenLDAP. =)

If I add a new entry, say:

dn: dc=edu
objectclass: top
objectclass: domain
dc: edu

it works fine.

If I modrdn like:

ldapmodrdn -x -r dc=edu dc=edux


ldapmodrdn -x -r dc=edu dc=edux -D uid=admin -W

slapd will crash with a message like:

ldbm_back_modrdn: no parent, locked root
ldbm_back_modrdn: new ndn=DC=EDUX
=> dn2id( "DC=EDUX" )
=> ldbm_cache_open( "dn2id.dbb", 73, 600 )
<= ldbm_cache_open (cache 0)
<= dn2id NOID
ldbm_back_modrdn: new ndn=DC=EDUX does not exist
ldbm_back_modrdn: new_rdn_val="edux", new_rdn_type="dc"
ldbm_back_modrdn: old_rdn_type=dc, new_rdn_type=dc!
ldbm_back_modrdn: DN_X500
slapd: acl.c:93: access_allowed: Assertion `e != ((void *)0)' failed.

Doing something like:

ldapdelete -x dc=edu -D uid=admin -W

on the client side, will yield:

Delete Result: Unknown error (80)
Additional info: could not locate parent of entry

slapd does not crash in this instance.

If you need additional information, please advise.