https://bugs.openldap.org/show_bug.cgi?id=10528
Issue ID: 10528 Summary: core.ldif fails to load via "include:" in cn=config on Symas OpenLDAP 2.6.13-3 (RHEL 9) Product: OpenLDAP Version: 2.6.13 Hardware: x86_64 OS: Linux Status: UNCONFIRMED Keywords: needs_review Severity: normal Priority: --- Component: slapd Assignee: bugs@openldap.org Reporter: lucas.vicente@ebz.tec.br Target Milestone: ---
Hello, We are experiencing an issue while trying to load the core.ldif schema default using the dynamic configuration (cn=config).
When using the following in my LDIF: include: file:///opt/symas/etc/openldap/schema/core.ldif
I get this error:
olcAttributeTypes: value #48 olcAttributeTypes: Unexpected token before MUST c MAY ( searchGuide $ description ) ) slapadd: could not add entry dn="cn={0}core,cn=schema,cn=config" (line=14): olcAttributeTypes: Unexpected token before MUST c MAY ( searchGuide $ description ) )
Obs: If I create a slapd.conf that includes the core schema and run: slaptest -f slapd.conf -F /tmp/slapd.d It works without errors. However, when trying to load the same schema using slapadd + include: in cn=config, it fails.
For reference, I tested the same steps on version 2.6.10 and it worked without errors.
Steps to reproduce: Install Symas OpenLDAP 2.6.13 on RHEL 9 Try to load the core schema using:
dn: cn=schema,cn=config objectClass: olcSchemaConfig cn: schema
include: file:///opt/symas/etc/openldap/schema/core.ldif
Would you be able to verify this behavior? Thanks!
https://bugs.openldap.org/show_bug.cgi?id=10528
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|needs_review | Target Milestone|--- |2.6.14 Assignee|bugs@openldap.org |smckinney@symas.com
https://bugs.openldap.org/show_bug.cgi?id=10528
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|2.6.14 |2.6.15
https://bugs.openldap.org/show_bug.cgi?id=10528
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|2.6.15 |2.6.16
https://bugs.openldap.org/show_bug.cgi?id=10528
--- Comment #1 from Quanah Gibson-Mount quanah@openldap.org --- Hi, do you still see this behavior? core.ldif has not been modified for several years. If you diff core.ldif from 2.6.10 vs 2.6.13 in the packages, is there anything shown?
Thanks!
https://bugs.openldap.org/show_bug.cgi?id=10528
--- Comment #2 from lucas.vicente@ebz.tec.br --- Hi,
Yes, I still see this behavior.
I just tested versions 2.6.15 and 2.7.0, and the error is the same.
I also diffed core.ldif from 2.6.10 and 2.6.13, and there are no differences.
https://bugs.openldap.org/show_bug.cgi?id=10528
--- Comment #3 from Quanah Gibson-Mount quanah@openldap.org --- (In reply to lucas.vicente from comment #2)
Hi,
Yes, I still see this behavior.
I just tested versions 2.6.15 and 2.7.0, and the error is the same.
I also diffed core.ldif from 2.6.10 and 2.6.13, and there are no differences.
Please provide the file you are using with slapadd, redact any passwords. You can attach it to this bug. Thanks!
https://bugs.openldap.org/show_bug.cgi?id=10528
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|2.6.16 |2.6.17