https://bugs.openldap.org/show_bug.cgi?id=9945
Issue ID: 9945
Summary: Unable to import initial configuration (cn=config)
Product: OpenLDAP
Version: 2.5.13
Hardware: x86_64
OS: Linux
Status: UNCONFIRMED
Keywords: needs_review
Severity: normal
Priority: ---
Component: slapd
Assignee: bugs(a)openldap.org
Reporter: annamariet(a)crimsonlogic.com
Target Milestone: ---
Created attachment 927
--> https://bugs.openldap.org/attachment.cgi?id=927&action=edit
slapd.ldif
I was able to install openldap 2.5.13 successfully but I was getting error
below whenever I will import the initial configuration using this command:
/usr/local/sbin/slapadd -n 0 -F /usr/local/etc/slapd.d -l
/usr/local/etc/openldap/slapd.ldif
Error:
str2entry: entry -1 has multiple DNs "cn=config" and "cn=module,cn=config"
slapadd: could not parse entry (line=1)
Closing DB...
In my slapd.ldif file, both DNs are enabled. Only this cn=module is throwing
error while other dn e.g. dn: cn=schema,cn=config are accepted. Am I missing
some packages or RPMs?
dn: cn=config
objectClass: olcGlobal
cn: config
.
.
.
dn: cn=module,cn=config
objectClass: olcModuleList
cn: module
olcModulepath: /usr/local/libexec/openldap
olcModuleload: back_mdb.la
olcModuleload: back_ldap.la
olcModuleload: back_passwd.la
olcModuleload: back_shell.la
.
.
.
--
You are receiving this mail because:
You are on the CC list for the issue.
https://bugs.openldap.org/show_bug.cgi?id=9045
--- Comment #6 from Quanah Gibson-Mount <quanah(a)openldap.org> ---
Removed from RE25 as it is missing the requisite libldap functionality to fix
the issue there.
--
You are receiving this mail because:
You are on the CC list for the issue.
https://bugs.openldap.org/show_bug.cgi?id=9045
Quanah Gibson-Mount <quanah(a)openldap.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|2.5.14 |2.6.4
--
You are receiving this mail because:
You are on the CC list for the issue.
https://bugs.openldap.org/show_bug.cgi?id=9045
Quanah Gibson-Mount <quanah(a)openldap.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |TEST
Status|CONFIRMED |RESOLVED
--- Comment #5 from Quanah Gibson-Mount <quanah(a)openldap.org> ---
head:
• a6f3106a
by Ondřej Kuzník at 2022-10-31T18:16:42+00:00
ITS#9045 Do not share cn=config entries with outside code
RE26:
• 99a7c141
by Ondřej Kuzník at 2022-11-01T17:05:36+00:00
ITS#9045 Do not share cn=config entries with outside code
RE25:
• ce7a7997
by Ondřej Kuzník at 2022-11-01T17:07:15+00:00
ITS#9045 Do not share cn=config entries with outside code
--
You are receiving this mail because:
You are on the CC list for the issue.