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

Re: Rejected NLS in DN

Kjell-Einar Ofstad writes:

> Ok, I've changed my Language-settings to use UTF-8 on my server.
> Entering the norwegian characters now works fine. So why do the complete
> string for 'cn' display completely garbled when I do ldapsearch ? 

ldapsearch's output is in an extended LDIF format.  LDIF requires
8-bit attribute values to be represented as

  <attribute type>:: <base64-encoded attribute value>

The fact that OpenLDAP's LDIF tools accept 8-bit values that are not
base64-encoded, is an extension, although probably a common one.