smbclient can't see japanese sharenames?

David Wuertele dave-gnus at
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= bcast= nmask=
  Got a positive name query response from ( )
  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
          ---------            -------

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

I have tried this on two different client systems with identical

  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:

    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?


More information about the samba-technical mailing list