[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openldap-bugs
Subject:    Re: Empty suffix doesn't work with bdb? (noted by Ben Lentz <BLentz@channing-bete.com>) (ITS#2970)
From:       ando () sys-net ! it
Date:       2004-02-19 19:31:58
Message-ID: 200402191931.i1JJVw5r049575 () boole ! openldap ! org
[Download RAW message or body]


> Full_Name: Pierangelo Masarati
> Version: Unknown (any?)
> OS: Unknown
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (81.72.89.40)
> Submitted by: ando
>
>
> I reproduced it in HEAD code.

The problem occurs inside

bdb_csn_commit()

basically because an attempt to retrieve
"cn=ldapsync," fails;  This strange DN is
caused by calling build_new_dn() with
"cn=ldapsync" and "" as parent instead of
NULL, which is the value expected by
build_new_dn() for "" based DNs.
However, letting build_new_dn() return
"cn=ldapsync" doesn't cure the problem,
because bdb_csn_commit() also fails with
the DN (there's no crash until someone
searches the database, and even curing
this second crash in bdb_do_search()
doesn't fix the problem.  I got lost
after that because I don't know enough
about the csn stuff in back-bdb.  Hope
someone else takes over this, or we
disable empty suffix for back-bdb at the
moment.

Ando.

-- 
Pierangelo Masarati
mailto:pierangelo.masarati@sys-net.it



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic