UTF-8 and LDAP

Steve Langasek vorlon at netexpress.net
Thu Feb 28 17:42:10 GMT 2002

On Fri, Mar 01, 2002 at 08:40:11AM +1100, Andrew Bartlett wrote:
> Jeremy Allison wrote:
> > 
> > On Fri, Mar 01, 2002 at 08:04:44AM +1100, Andrew Bartlett wrote:
> > >
> > > One final question.  Where is it stated that LDAP must be UTF8?
> > >
> > > I'm just a bit worried that it might not be fixed in stone.
> > >
> > > (in which case we get a 'ldap charset' as well).
> > 
> > It's defined in the protocol spec on the wire I recall (check the
> > LDAP RFC's to be sure, but I'm pretty sure it's in there).

> The only referece I saw in the RFC I looked at (and it might not have
> been the right one) is that LDAP chars must be in a certain range, but
> didn't specify how other chars should be encoded.

ISTR that the charset used by LDAP depends on the version of the LDAP 
protocol.  I think previous versions of the LDAP spec in fact referenced 
some perverse encoding inherited from x500.

Steve Langasek
postmodern programmer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20020228/f44188a3/attachment.bin

More information about the samba-technical mailing list