Japanese share name

Yasuma Takeda yasuma at miraclelinux.com
Tue Nov 30 01:47:22 GMT 2004


Jonny Larson wrote:

> Hello:
> I'm getting error NT_STATUS_BAD_NETWORK_NAME from cli_send_tconX when I 
> pass a Japanese share name.  Doesn't seem to matter what encoding I use 
> for the share name (tried Shift-JIS and UTF-8, etc).  The server is a 
> Samba 2.2.7.  If I run a Samba 3.x server there's no problem.
> Upgrading to Samba 3.x is not an option.  What were the changes in 3.x 
> that enabled this to work?  Is there any configuration options I could 
> set (in the smb.conf file) or something that may help get this to work?
> Any and all information would be greatly appreciated.

When I use a Japanese share name on Samba2.2,
I use the following parameters.

         coding system = euc
         client code page = 932

And you must write the share name as EUC-JP in smb.conf.

Best Regards,
Yasuma Takeda <yasuma at miraclelinux.com>

More information about the samba-technical mailing list