[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#7659) slapd refuses caseIgnoreMatch for Country String



Full_Name: Cyrille MAUCCI
Version: 2.4.32
OS: RHEL5
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (15.203.169.125)


Hello openldap'ers,


as a follow-up of our discussion on
http://www.openldap.org/lists/openldap-technical/201307/msg00042.html, I'm
creating an ITS to track the fact that slapd seems to refuse caseIgnoreMatch
matching rule for Country String.

Initial description of the bug can be found hereafter, to which Howard are
ack'ed

"Looks like a bug, schema_init.c doesn't list Country String as a compatible
syntax here. You should submit an ITS for this."


Many thanks in advance
++Cyrille


BUG DESCRIPTION:

When I have this piece of schema included in my slapd.conf fileâ?¦

 

attributetype ( 1.3.6.1.4.1.11.11.1.1.1.1.402

NAME ( 'TestCountryString' 'TestCountryStringSyn' )

DESC 'Test Country String'

EQUALITY caseIgnoreMatch

ORDERING caseIgnoreOrderingMatch

SUBSTR caseIgnoreSubstringsMatch

SYNTAX 1.3.6.1.4.1.1466.115.121.1.11

SINGLE-VALUE  )

 

â?¦ my 2.4.32 slapd â??Tt complains with this error:

 

line 8 attributetype: AttributeType inappropriate matching rule:
"caseIgnoreMatch".

 

 

My understanding of http://tools.ietf.org/html/rfc4517 is that caseIgnoreMatch
is valid for country string:

 

"The caseIgnoreMatch rule compares an assertion value of the Directory

String syntax to an attribute value of a syntax (e.g., the Directory

String, Printable String, Country String, or Telephone Number syntax)

whose corresponding ASN.1 type is DirectoryString or one of its

alternative string types.

"

 

 

Could you confirm whether this is a bug in openldap or simply a misunderstanding
from me ?