The Samba-Bugzilla – Bug 1047
Display of share names is OK but files names are wrong
Last modified: 2005-11-14 09:31:24 UTC
I'm using Samba 3.0.1 on Slackware 9.1.
I can access my windows shares (WindowsXP PL) and their names (in Polish) are
displayed correctly but names of files containing Polish letters within Windows
shares are displayed and transferred between Linux and Windows wrongly .
I've added the following lines in smb.conf. in order to have correct shares names:
dos charset = CP852
unix charset = ISO8859-2
CP852 was used with dos and then it was replaced with CP1250, but when I
indicate CP1250 in smb.conf than I CANNOT mouth any share with Polish names
letters and with CP852 I can.
I've done some trial transfers with the settings what I mentioned above and I
can correctly see and transfer files with Polish encoding in their names from
Linux do Windows XP. Shares' names with Polish encoding are also visible and can
be connected to from Windows XP.
So the conclusion is that samba server is OK but there is something wrong with
I have the above symptoms using for mounting Smb4K 0.3.2
When I connect to XP shares using Simple Samba Commander 0.5
the share names with polish letters are displayed wrongly just like files with
polish letters, but I can connect to them and transfer them correctly only from
linux to windows only. Other way round there are problems with encodings in file
CP1250 is not a valid DOS codepage - it's a Windows one.
Only CP852 is used on the wire with old DOS clients.
Leave dos charset at CP852.
Not a Samba bug.
Created attachment 428 [details]
screenshoot of WinXP share mounted using smbmount
Created attachment 429 [details]
screenshoot of WinXP share viewed in WinXP
I DO believe that this is a samba bug.
I might have created confusion talking about external programs and maybe this is
smbmount and not smbclient bug, but when I use samba tools the results are the same:
\\ANDRZEJXP Andrzej - Duronik
\\ANDRZEJXP\C$ Domy¶lny udzia³
root@Andrzej-Linux:~> smbmount //ANDRZEJXP/a±æê³ñó¶¼¿ /root/siec -o
username=andrzej iocharset=iso8859-2 codepage=cp852
Ive attached 2 screenshoots. One from WindowsXP and one from Linux.
I was missing commas within the smbmount command