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

Re: International chars w/ OpenLDAP+Mail clients



Marc Andre Selig wrote:
> 
> I am running into problems with international charsets while 
> trying to implement an OpenLDAP directory

Which version of OpenLDAP are you using? 1.2.x implements LDAPv2 and
2.0.x implements LDAPv3 which is a notable difference for some
clients when handling NON-ASCII charsets/encodings (e.g. Outlook).

> OpenLDAP stores data in UTF-8 format.

This is misleading. See mailing list archive for a lot of discussion
about this topic.

> Netscape 4.75 can display these, but when I want to see more
> information, the request is sent back in Latin1 (URL-encoded),

This is a Netscape bug since 4.5x when constructing the LDAP URL. I
reported it to Netscape through several channels but no change. :-(

You can work around this problem with doing hex-escaping of the
UTF-8 chars in DNs as described in RFC2253. You might experience
other problems when doing so.

> What is the
> correct procedure to maintain an OpenLDAP database containing
> international characters, which must be accessible in searches?

Go with UTF-8 and use the right client software.

Ciao, Michael.