smbclient can't see japanese sharenames?

David Wuertele dave-gnus at bfnet.com
Tue Sep 7 20:50:36 GMT 2004


I have a windows2000 host which is sharing two folders:

  1.  "share" (all ASCII)
  2.  "atarashii foruda" (Japanese SJIS)

When I try to list the shares that are available on this server, it
only lists the "share" share:

  # smbclient -L //japanese-server
  added interface ip=192.168.5.1 bcast=192.168.5.255 nmask=255.255.255.0
  Got a positive name query response from 192.168.5.172 ( 192.168.5.172 )
  Password: 
  Domain=[WORKGROUP] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]

          Sharename      Type      Comment
          ---------      ----      -------
          IPC$           IPC       Remote IPC
          share          Disk      
          ADMIN$         Disk      Remote Admin
          C$             Disk      Default share

          Server               Comment
          ---------            -------
          JAPANESE-SERVER          

          Workgroup            Master
          ---------            -------
          WORKGROUP            JAPANESE-SERVER
  # 

I have tried this on two different client systems with identical
results:

  1.  RH9 linux-2.4.20 with smbclient version 2.2.7a-security-rollup-fix
  2.  FC2 linux-2.6.5 with smbclient version 3.0.3-5

My locale is all UTF-8.  In my smb.conf file I have this:

  [global]
    client code page = 932
    coding system = UTF8

I have tried changing the coding system to HEX but it has no effect.

How can I get a listing of the shares that includes the ones with
Japanese names?

Thanks,
Dave



More information about the samba-technical mailing list