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

AW: userCertificate attribute question



Hello.

"Your problem is that the attribute in question is defined without an equality matching rule and hence certain operations (such as add/delete of individual values) is limited."
(Kurt Zeilenga wrote that)

attributetype ( 2.5.4.36 NAME 'userCertificate'
        EQUALITY octetStringMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.8 )
(I wrote that :)

(file: core.schema)

Kind regards,
Gerhard Duile


-----original message-----
Von: Madalina Baltatu [mailto:baltatu@athena.polito.it]
Gesendet: Dienstag, 12. Februar 2002 11:33
An: OpenLDAP
Betreff: userCertificate attribute question


Hello.

Could anybody tell me if userCertificate attributes are 
now single valued in OpenDLAP 2.0.22? 
With the prior OpenLDAP versions one entry could have 
more than 1 userCertificates.
I've got the following error while trying to modify 
an entry that already has an userCertificate:
ldap_modify: Inappropriate matching
        additional info: modify: add values failed
I use 
changetype: modify
add: userCertificate;binary
userCertificate;binary:<file:///tmp/cert.der

It works only with
changetype: modify
replace: userCertificate;binary
userCertificate;binary:<file:///tmp/cert.der

Thank you.
Madalina.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Politecnico di Torino
Dip. Automatica e Informatica
C.so Duca degli Abruzzi 24, 
10129 Torino, Italy
tel. +39 011 5647088
fax.  +39 011 5647099
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~