--nextPart1483759.4qzvGhZdbd Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
On Thursday 11 October 2012, Howard Chu wrote:
m.bachmann@cms.hu-berlin.de wrote:
Full_Name: Michail Bachmann Version: 2.4.31 OS: Linux URL: ftp://ftp.openldap.org/incoming/ Submission from: (NULL) (141.20.3.158)
The UTF-8 character 'FEMININE ORDINAL INDICATOR' (U+00AA) is wrongly tr=
eated as
'LATIN SMALL LETTER A' (U+0061), so adding a multi-valued attribute whe=
re U+00AA
is replaced with U+0061 (or the other way around) fails:
=20 This works as designed. See the Unicode specification, rules for decompos=
ition.
Ah, ok.
Thank you for your time and sorry for the noise.
$ ldapadd -f create.ldif -h localhost -D 'cn=3Dadmin,dc=3Dexample,dc=3D=
com'
### create.ldif ### dn: cn=3Dtest,dc=3Dexample,dc=3Dcom objectClass: organizationalRole objectClass: top cn: test street: a street ### /create.ldif ###
$ ldapmodify -f modify.ldif -h localhost -D 'cn=3Dadmin,dc=3Dexample,dc=
=3Dcom'
### modify.ldif ### dn: cn=3Dtest,dc=3Dexample,dc=3Dcom changetype: modify add: street street: =C2=AA street
### /modify.ldif ###
will result in
ldap_modify: Type or value exists (20) additional info: modify/add: street: value #0 already exists
It seems like U+00AA is decomposed into '<super>+U+0061' and then the '=
<super>'
part is discarded.
Tested with 2.4.31 (Debian) and 2.4.21 (Ubuntu)
=20 =20 =20
--nextPart1483759.4qzvGhZdbd Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Disposition: attachment; filename="smime.p7s" Content-Transfer-Encoding: base64
MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIOYTCCBCEw ggMJoAMCAQICAgDHMA0GCSqGSIb3DQEBBQUAMHExCzAJBgNVBAYTAkRFMRwwGgYDVQQKExNEZXV0 c2NoZSBUZWxla29tIEFHMR8wHQYDVQQLExZULVRlbGVTZWMgVHJ1c3QgQ2VudGVyMSMwIQYDV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