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

Re: ldapadd(1) second DIT

Hello Dieter,

Yes. You are correct. Thank you. I figured this one out a little while ago. The database number can be omitted (and ldapadd will fix it), yet ",cn=config" must be present.
Getting to the point where I sometimes figure it out on my own. :)
Appreciate your help.


Igor Shmukler

On Wednesday, February 4, 2015, Dieter Klünter <dieter@dkluenter.de> wrote:
Am Wed, 4 Feb 2015 10:35:30 +0200
schrieb Igor Shmukler <igor.shmukler@gmail.com>:

> Hello,
> I am having a problem executing the ldapadd(1) through ldapi for the
> below LDIF:
> dn: olcDatabase=hdb

this should be
dn: olcDatabase={1}hdb,cn=config

> The error is below:
> ldapadd: invalid format (line 12) entry: "olcDatabase=hdb"
> The line 12 contains: olcRootDN, it seems.
> I successfully tried a similar setup earlier. Please advise what
> should I check for clues.


Dieter Klünter | Systemberatung
GPG Key ID:DA147B05