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

RE: slapd segfaults when searching in database with empty suffix (ITS#3063)



> -----Original Message-----
> From: owner-openldap-bugs@OpenLDAP.org
> [mailto:owner-openldap-bugs@OpenLDAP.org]On Behalf Of duke@sigsegv.at

> On Wed, 2004-04-07 at 17:40, Hallvard B Furuseth wrote:
> > Note that one database can have several suffixes.
> > Each suffix will define a separate naming context held by
> the server.
> > (Or at least 2.1 LDBM databases can; I haven't tried 2.2 BDB.)
> nope, can't do that.
> i tried adding two suffix definitions to the database, but it doesn't
> work with 2.2 BDB:
>
> Apr  8 09:53:43 mailtest slapd[26340]: bdb_db_open: only one suffix
> allowed

You can override that by defining BDB_MULTIPLE_SUFFIXES when you compile
back-bdb. But it's not recommended.

At any rate, I've committed a fix for this to CVS HEAD, please test.

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support