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

Re: slapadd: which database to open

Michael Ströder writes:
>Hallvard B Furuseth wrote:
>>Quanah Gibson-Mount wrote in openldap-technical:
>>> You need to specify that you want to use the config db (-n 0) with your 
>>> slapadd command.
>> If neither -n nor -b is given, maybe slapadd should decide
>> which database to open from the DN of the first input entry?
> You'll never know how broken the LDIF file is => I disagree.

What kind of breakage are you afraid of slipping through?  You'll know
if it's outside any of your suffixes, or if it spans two databases.
Though the latter only after the first has been modified.