[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
ldapadd(1) second DIT
- To: "openldap-technical@openldap.org" <openldap-technical@openldap.org>
- Subject: ldapadd(1) second DIT
- From: Igor Shmukler <igor.shmukler@gmail.com>
- Date: Wed, 4 Feb 2015 10:35:30 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=eOxM7alS2RqprK6DqTcIiDPd8RiRgmDIZzXycE499F0=; b=yj2ScybN/BbVAgCmtMQQREHoaE/COkNAneMnqUK4/DO/SKBJ78e87Y4+PnVwEa7sgs kFcWfaaQboBJCwSxg9RJ0yhS7qWCkmvFHnNj10XF0A0JwRWyw+pc5mt++9ONUmn9EHvl laVKzlfhZeNlZPWNl5aBd/1lnOVYcbdDs3bsy43EYBbCCc0A3JJjOKj+H8w4A7+we5BV jPXtrabuLlfrUGeE9f28ICxqmlI3e5vQ3+0hgEi/uAd2dON/xNXGtHULvx/jbxW6Rw2X qK5FMW1C2HBIEMJq7GDNDbdJujlO1bpRP5L6Mr+MexBxzSjS8loE05YVRWmtn5yHRBl8 MySQ==
Hello,
I am having a problem executing the ldapadd(1) through ldapi for the below LDIF:
dn: olcDatabase=hdb
objectClass: olcDatabaseConfig
objectClass: olcHdbConfig
olcDatabase: hdb
olcDbDirectory: /var/lib/ldap/example.com
olcSuffix: dc=example,dc=com
olcAccess: {0}to attrs=userPassword,shadowLastChange by self write by anonymou
s auth by dn="cn=admin,dc=example,dc=com" write by * none
olcAccess: {1}to dn.base="" by * read
olcAccess: {2}to * by self write by dn="cn=admin,dc=example,dc=com"
write by * read
olcLastMod: TRUE
olcRootDN: cn=admin,dc=example,dc=com
olcRootPW:: e1NTSEF9NlZSbnN2bkJEWVdSbFFoS1ZWOE1TckxTdWhsc0NvSVg=
olcDbCheckpoint: 512 30
olcDbConfig: {0}set_cachesize 0 2097152 0
olcDbConfig: {1}set_lk_max_objects 1500
olcDbConfig: {2}set_lk_max_locks 1500
olcDbConfig: {3}set_lk_max_lockers 1500
olcDbIndex: objectClass eq
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.
Sincerely,
Igor Shmukler