https://bugs.openldap.org/show_bug.cgi?id=9241
Bug ID: 9241 Summary: olcRefintNothing refuse to accept space in the target dn Product: OpenLDAP Version: 2.4.49 Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: --- Component: overlays Assignee: bugs@openldap.org Reporter: sebastien.chaumat@qspin.be Target Milestone: ---
When configuring refint :
dn: olcOverlay={2}refint,olcDatabase={1}mdb,cn=config objectClass: olcOverlayConfig objectClass: olcRefintConfig olcOverlay: {2}refint olcRefintAttribute: seeAlso olcRefintNothing: cn=admin,dc=test
is accepted
but olcRefintNothing: cn=admin space,dc=test
is rejected when I ldapadd the configuration with the message :
ldap_add: Constraint violation (19) additional info: <olcRefintNothing> extra cruft after <string>
I tried various quoting : cn="admin space",dc=test cn=admin\20space "cn=admin space"
https://bugs.openldap.org/show_bug.cgi?id=9241
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |2.5.0 Keywords| |OL_2_5_REQ
https://bugs.openldap.org/show_bug.cgi?id=9241
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|2.5.0 |2.5.1
https://bugs.openldap.org/show_bug.cgi?id=9241
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|2.5.1 |2.5.3 Assignee|bugs@openldap.org |hyc@openldap.org Keywords| |reviewed
https://bugs.openldap.org/show_bug.cgi?id=9241
Howard Chu hyc@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |TEST
--- Comment #1 from Howard Chu hyc@openldap.org --- Fixed in master. DNs with embedded spaces must be enclosed in quotes.
https://bugs.openldap.org/show_bug.cgi?id=9241
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|OL_2_5_REQ, reviewed |
--- Comment #2 from Quanah Gibson-Mount quanah@openldap.org --- Commits: • 696d5656 by Howard Chu at 2021-03-21T16:47:43+00:00 ITS#9241 all ARG_DN configs must also use ARG_QUOTE
https://bugs.openldap.org/show_bug.cgi?id=9241
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED Resolution|TEST |FIXED