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

ldapmodify question



Hi,

I've just installed OpenLDAP 2.0.11 without any problems.
I created a tree with an LDIF file. One of the entries is:

# Geert Van Muylem,Project,Utimaco Safeware Belgium,Heverlee,BE
dn: cn=Geert Van Muylem,ou=Project,o=Utimaco Safeware
Belgium,l=Heverlee,c=BE
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: strongAuthenticationUser
cn: Geert Van Muylem
sn: GVM
userCertificate;binary::
MIIB9TCCAV6gAwIBAgIBCjANBgkqhkiG9w0BAQQFADARMQ8wDQYDV

QQDEwZTWVNURU0wHhcNMDEwNTA2MTIyMDU0WhcNMDIwNTA3MTIyMDU0WjBwMQswCQYDVQQGEwJCR
T

EhMB8GA1UEChMYVXRpbWFjbyBTYWZld2FyZSBCZWxnaXVtMRAwDgYDVQQLEwdQcm9qZWN0MRkwFw
Y

DVQQDExBHZWVydCBWYW4gTXV5bGVtMREwDwYDVQQHEwhIZXZlcmxlZTCBnzANBgkqhkiG9w0BAQE
F

AAOBjQAwgYkCgYEAzDVqRENSeE55FmwMOMOLN3P/c5fkLJMZasY07lhNnYJjOo8F2Fw8jWpZJ6VI
s

Uo0crd1ySbN/EN1PNa+IjS98x47XJi9iUqp1GnWhtbcP8ZVYjVx4VHjFzfYAddEAVMC1l5Oj6wvE
c

Ei7Tb+qnn449dLMPQcP6wlBRKaBuZ+3V0CAwEAATANBgkqhkiG9w0BAQQFAAOBgQBfs+Y4LiWb2b
E

9FPZaCw8wgaAf95ExdKtqpD1iMu+iFd6GdcONRzoUWnw7elFFaP44RfTLnZH9jrOGdNG3WyLVHCb
U

vnOJwZHjHORITTgkMhkAbq2QzEaAgQMwXySn8mEoc8PXP9LLVUmLDEp8TroiFKkThGv8E/mrMST8
H
 gjrbg=

I'm trying to add a second certificate with the following command:

>ldapmodify -D "cn=Manager,c=BE" -W -r -f modify.tmp

Content of modify.tmp:

dn: cn=Geert Van Muylem,ou=Project,o=Utimaco Safeware
Belgium,l=Heverlee,c=BE
changetype: modify
add: userCertificate;binary
userCertificate;binary::
MIIB9TCCAV6gAwIBAgIBCjANBgkqhkiG9w0BAQQFADARMQ8wDQYDV

QQDEwZTWVNURU0wHhcNMDEwNTA2MTIyMDU0WhcNMDIwNTA3MTIyMDU0WjBwMQswCQYDVQQGEwJCR
T

EhMB8GA1UEChMYVXRpbWFjbyBTYWZld2FyZSBCZWxnaXVtMRAwDgYDVQQLEwdQcm9qZWN0MRkwFw
Y

DVQQDExBHZWVydCBWYW4gTXV5bGVtMREwDwYDVQQHEwhIZXZlcmxlZTCBnzANBgkqhkiG9w0BAQE
F

AAOBjQAwgYkCgYEAzDVqRENSeE55FmwMOMOLN3P/c5fkLJMZasY07lhNnYJjOo8F2Fw8jWpZJ6VI
s

Uo0crd1ySbN/EN1PNa+IjS98x47XJi9iUqp1GnWhtbcP8ZVYjVx4VHjFzfYAddEAVMC1l5Oj6wvE
c

Ei7Tb+qnn449dLMPQcP6wlBRKaBuZ+3V0CAwEAATANBgkqhkiG9w0BAQQFAAOBgQBfs+Y4LiWb2b
E

9FPZaCw8wgaAf95ExdKtqpD1iMu+iFd6GdcONRzoUWnw7elFFaP44RfTLnZH9jrOGdNG3WyLVHCb
U

vnOJwZHjHORITTgkMhkAbq2QzEaAgQMwXySn8mEoc8PXP9LLVUmLDEp8TroiFKkThGv8E/mrMST8
H
 gjrbg==


=> I always get the following error:
modifying entry "cn=Geert Van Muylem,ou=Project,o=Utimaco Safeware
Belgium,l=Heverlee,c=BE"
ldap_modify: Inappropriate matching
        additional info: modify: add values failed
ldif_record() = 18

Can anyone help me with this one?

Thanks,
Geert