Japanese Share Names Wrong Format

Jeremy Allison jra at samba.org
Tue Nov 18 18:01:45 GMT 2003

On Thu, Nov 13, 2003 at 04:20:02PM -0800, Jonny Larson wrote:
> Hello:
> We're using the Samba client 3.0.0 API to get file server access.  We 
> have some Japanese Win2k servers that we test with.  This server has 
> some share names that are in Japanese.  When I call cli_RNetShareEnum 
> against this server, the names passed to my enum function are in the 
> Shift_JIS character set.  This is even though the CAP_UNICODE 
> capabilities flag is set after cli_negprot is called.  This causes the 
> pull_ascii funtion to mash the names when it converts from CH_DOS to 
> CH_UNIX inside of convert_string.

Can you give some examples please ? I've been working in this area
and I want to ensure all these bugs are fixed for 3.0.1.



More information about the samba-technical mailing list