[Samba] problems with chinese file names and smbfs

Arne Goetje 20030910antispam at gmx.net
Thu Aug 19 05:19:35 GMT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi list,

I have a charset problem. I'm using Debian unstable, 2.4.25 kernel (debian
kernel-image) and samba 3.0.5.
I want to mount a windows2000 share which contains chinese filenames.
My locale is set to en_US.UTF-8.
When I connect to the windows machine with smbclient, it can display the
filenames correctly (chinese characters). So, I assume the windows machine
uses UTF-8 as encoding.

But when I try to mount the share with smbfs by the means of an entry
in /etc/fstab, the filenames get garbled up. I tried already to give
options like iocharset=UTF-8 (also tried utf8 and utf-8, as well as big5,
Big5 and EUC-TW).

Any hints?

my fstab entry looks like this:
//mispdc/modify$        /mnt/mispdc/modify      smbfs  
user,noauto,uid=arneg,gid=arneg,credentials=/home/arneg/.smbpasswd,
shortname=winnt,rw,iocharset=UTF-8    0       2

Thanx for help
Arne
- -- 
Arne Goetje <20030910antispam at gmx.net> 
(Spam catcher.  Address might change in future!)
PGP/GnuPG key: 1024D/685D1E8C
Fingerprint: 2056 F6B7 DEA8 B478 311F  1C34 6E9F D06E 685D 1E8C
Key available at wwwkeys.pgp.net.   Encrypted e-mail preferred.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBJDhybp/QbmhdHowRAg/OAKCGzVr36VrXf9vMcmLQ15jyR9C/9gCePYAo
oV9pSD8+dbeEnwcircDsEi4=
=IsC0
-----END PGP SIGNATURE-----



More information about the samba mailing list