(possible) wrong UTF8 mangling in tdb / ldb

simo idra at samba.org
Wed Feb 21 13:54:27 GMT 2007


On Wed, 2007-02-21 at 14:06 +0100, Alessandro Sappia wrote:
> furthermore:
> Building LDB standalone makes this issue appears.
> Building LDB as part of Samba4 doesn't show this issue,
> as you told me by mail in private
> "The issue is that, rightly or wrongly, we don't link in iconv in the
> standalone build. Samba4 plugs in it's internal iconv code and
> uppercase/lowercase routines. I think we should have some form of iconv
> in standalone ldb..."
> 
> so, shoud the internal iconv code for samba be linked against ldb when
> compiling standalone ?

No, ldb must be compilable without the rest of samba.

> btw, maybe this was discussed time ago, but why not use the system provided
> iconv ? (towupper/towlover.... etc)

Yes, we need to change the standalone configure to detect and pick up
the system iconv if present.
Do you want to try to do it?

Thanks for finding this out.
Simo.

-- 
Simo Sorce
Samba Team GPL Compliance Officer
email: idra at samba.org
http://samba.org



More information about the samba-technical mailing list