LDAP and UTF-8

Alexander Bokovoy a.bokovoy at sam-solutions.net
Mon Feb 18 02:13:08 GMT 2002


On Sun, Feb 17, 2002 at 04:45:38PM +0100, Juergen Hasch wrote:
> Hi,
> 
> I am using the NET ADS USER command in Samba head to list the users stored
> in a Win2K ADS. Some user names contain non-english characters encoded in UTF-8
> format which don't get displayed correctly. Winbindd has the same problems.
> 
> I added the some UTF-8 helper functions to lib/chrcnv.c to be able to convert
> UTF-8 to unix. 
> c) are there platforms without iconv, so this will possibly break things ?

There are indeed platforms which lack native support for iconv(3) but
there is also libiconv available for them which fixes this problem.

-- 
/ Alexander Bokovoy
Software architect and analyst             // SaM-Solutions Ltd.




More information about the samba-technical mailing list