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

Re: case sensitive in slapd.conf

Jander Klander writes:
> is possible to configure in slapd.conf case-sensitive for attributes and
> entries??

No, but it's possible to define attributes that are case-sensitive.
Some already are.  For example:

attributetype ( NAME 'labeledURI'
	DESC 'RFC2079: Uniform Resource Identifier with optional label'
	EQUALITY caseExactMatch

attributetype ( NAME 'memberUid'
	EQUALITY caseExactIA5Match
	SUBSTR caseExactIA5SubstringsMatch

You use syntax (IA5 String)
and caseExactIA5(Substrings)Match for ASCII-only values,
and syntax (Directory String)
and caseExact(Substrings)Match for UTF-8 values.

You need to specify an Exact matching rule for equality match,
a SubstringsMatch maching rule if you want to match wildcards,
and an OrderingMatch matching rule if you want to match by
greater/less than.

Also, you need OIDs (object identifiers) for your new attributes,
i.e. the string of numbers before NAME.  You can contact IANA
(http://www.iana.org/) or your national authority to obtain an OID name