Architcecture for winbindd client character conversion.

Henrik Nordstrom henrik at henriknordstrom.net
Fri Aug 31 09:43:33 GMT 2007


On tis, 2007-08-28 at 12:34 -0400, simo wrote:

> The bug is in Ubuntu not using utf8 as their default locale or in Ubuntu
> not setting unix charset = iso8859-1 in smb.conf

So you are arguing that everyone who has users who do not want utf8 but
still want to user their local charset, different from the system
default is broken and should go away?

default locale is indeed system wide, but the user selected locale is
not and may differ. Especially so on systems accepting remote
connections.

additionally winbind is used by various other networking related
services which may have their own locale needs, via the ntlm_auth helper
and wbinfo.

If I were you I would settle for UTF-8 in all windbind calls regardless
of the unix charset, and have the clients (including
pam_wibind,nss_winbind,smbd and ntlm_auth) convert it as needed to their
locale. Adding negotiation is certainly overkill and not something I
would recommend, other than possibly to negotiate between "as-is" unix
charset and utf-8.

Regards
Henrik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20070831/191978c9/attachment.bin


More information about the samba-technical mailing list