[Fedora-directory-users] Case Sensitive Lookup and Searching

Michael Ströder michael at stroeder.com
Mon Jul 7 17:55:25 UTC 2008


Rich Megginson wrote:
> Michael Ströder wrote:
>> Rich Megginson wrote:
>>> Michael Ströder wrote:
>>>> Rich Megginson wrote:
>>>>> Michael Ströder wrote:
>>>>>> I really wonder whether default matching rules are applied for 
>>>>>> certain LDAP syntaxes and how to find out which these are.
>>>>>>
>>>>> If there is no matching rule, it just goes by the most appropriate 
>>>>> internal matching rule that corresponds to the SYNTAX.
>>>>
>>>> Any description how the "most appropriate internal matching rule" is 
>>>> chosen?
>>> No, not really, afaik.  I suppose it attempts to use "common sense" 
>>> e.g. if the syntax is for case sensitive string, it uses a matching 
>>> rule for case sensitive string comparison, and uses indexers for case 
>>> sensitive strings.
>>
>> And how to determine whether a syntax is used for case sensitive 
>> strings? That's exactly the problem of the original poster I guess.
 >
> I think IA5String is case sensitive, and Directory String is case 
> insensitive.

I don't think so (see section 4.2. of RFC 4517).

Ciao, Michael.




More information about the 389-users mailing list