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

(ITS#7659) slapd refuses caseIgnoreMatch for Country String

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

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

"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


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


attributetype (

NAME ( 'TestCountryString' 'TestCountryStringSyn' )

DESC 'Test Country String'

EQUALITY caseIgnoreMatch

ORDERING caseIgnoreOrderingMatch

SUBSTR caseIgnoreSubstringsMatch




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


line 8 attributetype: AttributeType inappropriate matching rule:



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 ?