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

(ITS#5608) additional info: modify/delete: postalAddress: no equality matching rule



Full_Name: Michael Ströder
Version: RE24
OS: OpenSUSE Linux 10.3
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (84.163.107.210)


Using OpenLDAP 2.4.10 (RE24) I'm trying to explicitly delete a value of
attribute postalAddress:

---------------------------------------------------------------
dn: cn=Fred Feuerstein,ou=Testing,dc=stroeder,dc=de
changetype: modify
delete: postalAddress
postalAddress: zeile 1$zeile 2$zeile 3
-

---------------------------------------------------------------

But this results in an error:

modifying entry "cn=Fred Feuerstein,ou=Testing,dc=stroeder,dc=de"
ldapmodify: Inappropriate matching (18)
        additional info: modify/delete: postalAddress: no equality matching
rule

But postalAddress is declared in the schema like this:

( 2.5.4.16 NAME 'postalAddress' DESC 'RFC2256: postal address' EQUALITY
caseIgnoreListMatch SUBSTR caseIgnoreListSubstringsMatch SYNTAX
1.3.6.1.4.1.1466.115.121.1.41 )

If the equality matching rule is not implemented it should not be announced in
the subschema. The server should not simply report what might have been defined
in some RFC.

Ciao, Michael.