Bug 465 - smbmount does not show correct characters in the filename
Summary: smbmount does not show correct characters in the filename
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: smbmount (unmaintained) (show other bugs)
Version: 3.0.0preX
Hardware: Other other
: P3 normal
Target Milestone: none
Assignee: Alexander Bokovoy
QA Contact:
Depends on:
Reported: 2003-09-17 07:27 UTC by Sergey V. Oudaltsov
Modified: 2005-02-07 07:57 UTC (History)
0 users

See Also:

The script to test ALL codepages (465 bytes, application/octet-stream)
2003-09-18 17:54 UTC, Sergey V. Oudaltsov
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey V. Oudaltsov 2003-09-17 07:27:42 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
server properly.
Comment 1 Alexander Bokovoy 2003-09-18 14:26:50 UTC
Have you tried codepage=cp866?
Comment 2 Sergey V. Oudaltsov 2003-09-18 17:51:31 UTC
Sure I did! See the attached batch - I tried ALL codepages and NONE of them
showed me the filename correctly.
Comment 3 Sergey V. Oudaltsov 2003-09-18 17:54:35 UTC
Created attachment 153 [details]
The script to test ALL codepages
Comment 4 Gerald (Jerry) Carter (dead mail address) 2004-03-04 09:36:54 UTC
This is an smbfs issue, not Samba.
Comment 5 Gerald (Jerry) Carter (dead mail address) 2005-02-07 07:57:08 UTC
originally reported against 3.0aph24.  Bugzilla spring cleaning.  
Removing old alpha versions.