https://bugs.openldap.org/show_bug.cgi?id=9556
Issue ID: 9556 Summary: slapd-config should return invalidAttributeSyntax if parsing schema description fails Product: OpenLDAP Version: 2.5.4 Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: --- Component: slapd Assignee: bugs@openldap.org Reporter: michael@stroeder.com Target Milestone: ---
I'm currently testing error handling and interacting with LDAP clients (e.g. my web2ldap).
Sending an invalid attribute type description results in an error (as expected) returned by slapd-config:
RESULT tag=103 err=80 qtime=0.000032 etime=0.001271 text=olcAttributeTypes: Unexpected token before SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
But result code other(80) seems not very useful. It's too unspecific to decide on specific error handling.
It would be much more useful if slapd-config returns invalidAttributeSyntax(21) in this case.
https://bugs.openldap.org/show_bug.cgi?id=9556
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |2.6.0 Severity|normal |development
https://bugs.openldap.org/show_bug.cgi?id=9556
--- Comment #1 from Michael Ströder michael@stroeder.com --- On 5/20/21 6:21 PM, openldap-its@openldap.org wrote:
Target Milestone|--- |2.6.0
So basically it won't happen in this life...
https://bugs.openldap.org/show_bug.cgi?id=9556
--- Comment #2 from Howard Chu hyc@openldap.org --- (In reply to Michael Ströder from comment #1)
On 5/20/21 6:21 PM, openldap-its@openldap.org wrote:
Target Milestone|--- |2.6.0
So basically it won't happen in this life...
2.6.0 is scheduled for release in September 2021
https://bugs.openldap.org/show_bug.cgi?id=9556
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|2.6.0 |2.7.0
https://bugs.openldap.org/show_bug.cgi?id=9556
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |TEST
--- Comment #3 from Quanah Gibson-Mount quanah@openldap.org --- • def3a958 by Ondřej Kuzník at 2021-12-15T18:39:46+00:00 ITS#9556 Allow handlers to set result code
• fbd4f9ab by Ondřej Kuzník at 2021-12-15T18:39:46+00:00 ITS#9556 Send INVALID_SYNTAX for invalid schema elements
https://bugs.openldap.org/show_bug.cgi?id=9556
--- Comment #4 from Quanah Gibson-Mount quanah@openldap.org --- (In reply to Michael Ströder from comment #1)
On 5/20/21 6:21 PM, openldap-its@openldap.org wrote:
Target Milestone|--- |2.6.0
So basically it won't happen in this life...
8 months later... please test in master :)