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: [email protected]
          Reporter: [email protected]
  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.

-- 
You are receiving this mail because:
You are on the CC list for the issue.

Reply via email to