[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
slapd aborts on MODRDN (ITS#1261)
Full_Name: Lars Uffmann
Version: 2.0.12-Engineering (Sun Jul 29 14:36:05 CEST 2001)
OS: linux 2.4
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (195.71.100.158)
Hi,
slapd aborts on MODRDN, when both the old and the new RDN allready exists.
The bug is reproducable. This LDIF will crash slapd:
== snip ===
dn: uid=test1,o=testsuffix
changetype: delete
dn: uid=test2,o=testsuffix
changetype: delete
dn: uid=test1,o=testsuffix
changetype: add
objectClass: top
objectClass: uidObject
uid: test1
dn: uid=test2,o=testsuffix
changetype: add
objectClass: top
objectClass: uidObject
uid: test2
dn: uid=test1,o=testsuffix
changetype: modrdn
newrdn: uid=test2
deleteoldrdn: 1
== snip ===
2001-07-30 10:23:40.146293500 ldbm_back_modrdn: wr to children of entry
O=MEDIAWAYS.NET OK
2001-07-30 10:23:40.146366500 ldbm_back_modrdn: parent dn=o=mediaways.net
2001-07-30 10:23:40.146368500 ldbm_back_modrdn: new
ndn=UID=TEST2,O=MEDIAWAYS.NET
2001-07-30 10:23:40.146370500 => dn2id( "UID=TEST2,O=MEDIAWAYS.NET" )
2001-07-30 10:23:40.146372500 ====>
cache_find_entry_dn2id("UID=TEST2,O=MEDIAWAYS.NET"): 405805 (1 tries)
2001-07-30 10:23:40.146375500 <= dn2id 405805 (in cache)
2001-07-30 10:23:40.146376500 send_ldap_result: conn=2 op=3 p=3
2001-07-30 10:23:40.146378500 send_ldap_result: 68::
2001-07-30 10:23:40.146379500 send_ldap_response: msgid=4 tag=109 err=68
2001-07-30 10:23:40.146401500 ber_flush: 14 bytes to sd 9
2001-07-30 10:23:40.146429500 entry_rdwr_wunlock: ID: 1
2001-07-30 10:23:40.146444500 ====> cache_return_entry_w( 1 ): returned (0)
2001-07-30 10:23:40.146446500 entry_rdwr_wunlock: ID: 405804
2001-07-30 10:23:40.146447500 ====> cache_return_entry_w( 405804 ): returned
(0)
2001-07-30 10:23:40.146516500 slapd: entry.c:271: entry_free: Assertion
`e->e_private == ((void *)0)' failed.
2001-07-30 10:23:40.171243500 @(#) $OpenLDAP: slapd 2.0.12-Engineering (Sun Jul
29 14:36:05 CEST 2001) $