[Samba] Samba and non-ASCII host names

TAKAHASHI Motonobu monyo at monyo.com
Mon May 30 10:56:34 MDT 2011

From: Artyom Smirnov <smirnoffjr at gmail.com>
Date: Mon, 30 May 2011 14:48:36 +0400

> I work in LAN with bunch of windows 7 computers with Russian
> localization which has bad habit to put international symbols
> (cyrillic symbols in my case) into host name upon installing. I can't
> force people to change host names on their computers so I trying to
> manage myself. I found some options to manipulate character conversion
> and added to config next lines:
> dos charset = CP866
> unix charset = UTF-8
> display charset = UTF-8
> It really affect on host names but I still see messed encodings. I
> experimented with other encodings in dos charset option without luck.
> I tried it on Ubuntu 11.04 with Samba 3.5.8~dfsg-1ubuntu2.2 and Mac OS
> X with samba 3.0.28a-apple. I'm sure it not vanilla samba in both
> cases but think it generic problem.
> What I'm missing?

I examined non-ASCII hostnames several years ago around Samba 3.0.7
and realized that Samba is not intended to work with such hostnames.

It may be able to work in some cases but is not explicitly supported,
I think.

TAKAHASHI Motonobu <monyo at samba.gr.jp>

More information about the samba mailing list