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

RE: multi-byte utf8 characters in DNs



>
>
>>
>> [I tried searching the docs for the answer without much luck, so
>> apologies if I've missed it]
>> Does openldap (2.4.26) support DNs containing utf8 multi-byte
>> characters?
>> e.g. a DN containing é like cn=été,dc=a,dc=b ?
>> If not, what's the recommended way of handling such DNs?
>> Chris
>>
>>
>>
>> Take a look at RFC 4514
>> (http://www.ietf.org/rfc/rfc4514.txt?number=2253)
>> (Page 4 should be your answer)
>>
> I've tried that but I get an invalid DN error back from slapd (and the
> slapdn program) if I replace é by \c3\a9 in the DN.

slapdn -f testrun/slapd.1.conf 'cn=\c3\a9'
DN: <cn=\c3\a9> check succeeded
normalized: <cn=é>
pretty:     <cn=é>

git master of 10 minutes ago; what version are you using?

p.

> Chris
>
>
>