UTF-8 support and other quirks in the LDAP backend (in 2.2.4).

Fredrik Ohrn ohrn at chl.chalmers.se
Wed Jun 19 09:23:02 GMT 2002

On Wed, 19 Jun 2002, Andrew Bartlett wrote:

> "Shahms E. King" wrote:
> > 
> > > One problem we uncovered is that the backend needs to convert all strings
> > > stored in LDAP to/from UTF-8. This mainly affects users real names which
> > > look quite borked if they contain non 7bit ASCII chars. Some LDAP servers
> > > will let you use any charset but OpenLDAP likes to enforce UTF-8 (also the
> > > LDAPv3 standard mandates it).
> > 
> > Well, that's what I get for living in the US, i18n bugs don't tend to
> > bite me in the butt.
> Yes, we have a patch in the works to do this for the ADS LDAP code, and
> once that is in I'll look at how to merge it for pdb_ldap.

Great! I'd be happy to help backporting and testing in 2.2.x


   "It is easy to be blinded to the essential uselessness of computers by
   the sense of accomplishment you get from getting them to work at all."
                                                   - Douglas Adams

Fredrik Öhrn                               Chalmers University of Technology
ohrn at chl.chalmers.se                                                  Sweden

More information about the samba-technical mailing list