[Samba] Unicode support in samba

Jeremy Allison jra at samba.org
Tue Dec 20 15:35:27 GMT 2005

On Mon, Dec 19, 2005 at 11:51:08PM -0800, Gayathri Sundar wrote:
> Hi.,
> Does samba (smb client) connect to servers whose names are in UTF-16
> as part of internationalization?
> i.e if I have a chinese installation on windows 200X, and the server name
> is in chinese charset, can the smb client enumerate that and list the
> chinese name?

Yes, that should work.

> I searched the net for this information and didnt get any. I see only
> unicode file and share names, and no mention of server names in unicode at
> all. For example can the LANMAN NetServerEnum2 comeback with unicode
> server names on the wire?

No, lanman calls use DOS codepages. So long as the DOS codepage is
set correctly on the client then the server name should be seen correctly.


More information about the samba mailing list