[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 ( 1.3.6.1.4.1.250.1.57 NAME 'labeledURI'
DESC 'RFC2079: Uniform Resource Identifier with optional label'
EQUALITY caseExactMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
attributetype ( 1.3.6.1.1.1.1.12 NAME 'memberUid'
EQUALITY caseExactIA5Match
SUBSTR caseExactIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
You use syntax 1.3.6.1.4.1.1466.115.121.1.26 (IA5 String)
and caseExactIA5(Substrings)Match for ASCII-only values,
and syntax 1.3.6.1.4.1.1466.115.121.1.15 (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
space.
--
Hallvard