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

(ITS#5402) Sets: Hyphens within attribute names considered as separate tokens



Full_Name: Norbert Rittel
Version: 2.3.27
OS: Mac OS X Server 10.5.2
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (217.91.71.78)


When using attribute names containing hyphens the Set code erroneously considers
the parts to either side of the hyphen as separate tokens.

For example a <by> clause like

    by set.exact="this/apple-keyword & user/apple-keyword" read

always yields an empty set. This means that on Apple Open Directory servers set
clauses canot be used with any Apple-supplied attribute as they all begin with
"apple-".

Pierangelo Masarati was so kind to verify that this bug is still present in the
latest release. Hopefully the fix is a simple diff that we can apply to the
older version shipping with Mac OS X Server, too. :-)