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

Re: commit: ldap/servers/slapd filterentry.c schema_init.c



At 02:18 AM 3/28/2005, Pierangelo Masarati wrote:
>kurt@OpenLDAP.org wrote:
>
>>Update of /repo/OpenLDAP/pkg/ldap/servers/slapd
>>
>>Modified Files:
>>        filterentry.c  1.100 -> 1.101
>>        schema_init.c  1.365 -> 1.366
>>
>>Log Message:
>>Update uniqueMemberMatch to be consistent with latest
>>        draft-ietf-ldapbis-syntaxes
>>Add uniqueMemberMatch approximate support
>>Add uniqueMemberMatch indexing support
>> 
>As a consequence of this change, test026 is failing when the server is searched with "(uniqueMember=dc=example,dc=com)", i.e. the asserted value is missing the bitString portion.  Since this option appears to be absent from draft-ietf-ldapbis-syntaxes,

The updated semantics are such that an assertion of
DN and no UID only matches a value containing that DN with no UID.
And vice versa.  The rule semantics are now commutative.

>i.e. there's no mention of the possibility of having the asserted value without the bitString portion, if my interpretation is correct the test is malformed and should be removed, since it seems to imply that an absent bitString is equivalent to a bitstring of "#'0'B".

I've changed the test not to expect a match.

>However, a missing bitString from the asserted value is not treated as an error when parsing the filter.

There is no error in the filter.


>Comments?
>
>
>   SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497