[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.

Sincerely,

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
...
olcDatabase:{1}hdb
...

> 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

--
Dieter Klünter | Systemberatung
http://dkluenter.de
GPG Key ID:DA147B05
53°37'09,95"N
10°08'02,42"E