The Samba-Bugzilla – Bug 465
smbmount does not show correct characters in the filename
Last modified: 2005-02-07 07:57:08 UTC
I created a file on "normal" MS Windows server (Win2000) using MS Windows
(Win2000) client. The file has russian name (a lot of russian characters). Then
I use smbmount to mount it. The options are:
smbmount //SERVER/Share /home/user/SERVER/Share -o
I use iocharset utf8 because my Linux locale it ru_RU.UTF-8 (kernel 2.4.20-19.9
from RH updates). I tried all possible codepages - but I constantly see
?????.??? instead of the russian filename on the server (all ASCII names are ok).
When I create a russian file on the server from Linux machine (after smbmount),
Windows client does not see it properly. It looks like UTF-8 in ASCII (I mean I
see twice more characters and each characters 0th, 2nd, 4th, ... are same).
BTW, if I use usual smbclient, not smbmount - I can see russian filenames on the
Have you tried codepage=cp866?
Sure I did! See the attached batch - I tried ALL codepages and NONE of them
showed me the filename correctly.
Created attachment 153 [details]
The script to test ALL codepages
This is an smbfs issue, not Samba.
originally reported against 3.0aph24. Bugzilla spring cleaning.
Removing old alpha versions.