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

Slapadd refuses to add entries when an attribute is base64 encoded (ITS#2042)



Full_Name: Gael
Version: 2.0.23
OS: linux 2.2.16
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (212.234.59.104)


When trying to add the entry below (see bottom) slapadd-gdbm fails.
After running in debug mode, I could see there is a problem with the title
attribute.

I had same kind of trouble with other entries, where the probleme is reproduced
when the attribute is encoded, (however, it's working correctly when it's the
dn)

I had a look on the code, but could not figure out what's really happening???
I suppose this has to do with schemacheck before unpacking the value... (but I
am far from a openldap code guru, and I may as well be wrong)

Any hint on this will help.

Thanks

dn: uid=psabatier, o=MyORG, c=FR
uid: psabatier
sn: SABATIER
mail: p.sabatier@myorg.com
cn: Patrick SABATIER
givenname: Patrick
title:: Q29udHL0bGUgT3DpcmF0aW9ubmVs
facsimiletelephonenumber: 00000000000
l: Roissy
telephonenumber: 0000000000
postalcode: 95703
objectclass: organizationalPerson
objectclass: top