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

Re: Slapadd and multiple backends

At 04:10 PM 9/1/99 +0200, Anders Mattsson wrote:
>>On Wed, Sep 01, 1999 at 03:17:05PM +0200, Anders Mattsson wrote:
>>> This example works with ldif2ldbm. I'm running OpenLDAP2.0alpha2 under BSDI
>>> 3.1

With or without a -n option?   ldif2ldbm did not provide naming checks
and would allow you to any entry to any ldbm database.

>At 07:35 1999-09-01 -0400, Ben Collins wrote:
>>ldif2ldbm did no real checking, and basically was not aware of multiple
>>on a single run.

slapadd also only adds entries to one backend database at a time.
Like ldif2ldbm, you must specify a -n option if you have multiple
databases.  However, ldif2ldbm -n n loaded the nth ldbm database.
slapadd -n n loads the nth database regardless of type.

Unlike ldif2ldbm, slapadd preforms basic naming and schema checks.

>>You either need to remove the ou=entry, or place it under one of the toplevel
>>dn's defined in your slapd.conf (tnPf=b or ou=a)