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

Schema matching rules don't work (ITS#3118)

Full_Name: Pierangelo Masarati
Version: HEAD
OS: Irrelevant
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (

Schema matching rules do not work.  Whan using matched values control to extract
schema items, the sequence is numericoidValidate(), which fails if anything but
an OID is used, followed by firstComponentNormalize(), which fails if anything
but "( OID..." is provided.  So there's no way a macth can occur.  So 

ldapsearch -b 'cn=subschema' -s base -E mv="(attributeTypes=\28 \29)

fails because there's more than an OID in the value, while

ldapsearch -b 'cn=subschema' -s base -E mv="(attributeTypes=

fails at firstComponentNormalize() because there are no brackets.  I guess the
solution would be to relax constraints in firstComponentNormalize(), and let it
skip brakets if they're there without requiring their presence.