[Fedora-directory-users] Case Sensitive Lookup and Searching
Rich Megginson
rmeggins at redhat.com
Mon Jul 7 18:10:50 UTC 2008
Michael Ströder wrote:
> 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).
Ok. But the the way Fedora DS works is that it treats IA5String as case
sensitive, and Directory String as case insensitive - see
ldap/servers/plugins/syntaxes/ces.c and cis.c
>
> Ciao, Michael.
>
> --
> Fedora-directory-users mailing list
> Fedora-directory-users at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-directory-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3258 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-directory-users/attachments/20080707/42dd91e2/attachment.bin>
More information about the Fedora-directory-users
mailing list