[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
userCertificate, wrong attribute type?
- To: openldap-technical@openldap.org
- Subject: userCertificate, wrong attribute type?
- From: Nicolas KOWALSKI <nicolas.kowalski@gmail.com>
- Date: Thu, 22 Dec 2011 14:39:13 +0100
- Content-disposition: inline
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:mail-followup-to:mime-version :content-type:content-disposition:user-agent; bh=eNAq7Qdam+jL6fRieB8YGRJ3O/ybp3rHTNZtQ3tqdeM=; b=AJ/kCpel3Ycm6HfAwEoJaadOclz5RsxwFga5OxlbHClSP9tsCD/ebCj/4L42hDVQ0T DGWB6J5fAtJP3J9SBr1OvPWl3UtbB7/H37SWhCHISk5rQQCMTOdn62h/vVDBgHDimoe0 q2PYhAUXwjv7b5uFhknJ9726xL+gOjOnB6ZAY=
- Mail-followup-to: openldap-technical@openldap.org
- User-agent: Mutt/1.5.20 (2009-06-14)
Hello,
Using OpenLDAP 2.4.12 (SLES 2011 SP1), I am trying to add a
userCertificate attribute to an existing user (inetOrgPerson object).
I converted the PEM file containing the certificate to DER format, then
created this ldif:
dn: cn=Nicolas.Kowalski,ou=people,dc=home,dc=lan
changetype: modify
add: userCertificate
userCertificate;binary:< file:///root/ssl/Nicolas.Kowalski-crt.der
But when I try to update the entry, I always get this error:
# ldapmodify -x -W-D "cn=Manager,dc=home,dc=lan" -f the-ldif-above
ldapmodify: wrong attributeType at line 4, entry "cn=Nicolas.Kowalski,ou=people,dc=home,dc=lan"
What am I doing wrong?
Thanks,
--
Nicolas