HI, 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 samba client. I have the above symptoms using for mounting Smb4K 0.3.2 http://smb4k.berlios.de/ When I connect to XP shares using Simple Samba Commander 0.5 http://www.rafim.prv.pl/smbc/smbc/ 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 names. best regards Andrzej
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. Jeremy.
Created attachment 428 [details] screenshoot of WinXP share mounted using smbmount
Created attachment 429 [details] screenshoot of WinXP share viewed in WinXP
Jeremy, 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: root@Andrzej-Linux:~> smbtree Password: SZELACHOWSKI CO \\ANDRZEJXP Andrzej - Duronik \\ANDRZEJXP\a±æê³ñ󶼿 \\ANDRZEJXP\wspólny \\ANDRZEJXP\C$ Domy¶lny udzia³ root@Andrzej-Linux:~> smbmount //ANDRZEJXP/a±æê³ñ󶼿 /root/siec -o username=andrzej iocharset=iso8859-2 codepage=cp852 Password: Ive attached 2 screenshoots. One from WindowsXP and one from Linux.
My mistake. I was missing commas within the smbmount command sorry Andrzej
closing
database cleanup