Dipl.-Ing. Stefan Zimmermann
2000-Dec-14 10:14 UTC
Bug: Umlaute in Filenames on smbmounted shares don't work
Using Umlaute in filenames on smbmounted shares, creates unaccessible files on the Windows-Client. Used program versions: Samba: samba 2.0.7 System: SuSE-Linux 7.0 (kernel 2.2.16) Clients: Windos 98 Second edition To reproduce the bug do (as root): smbserver: # smbmount //WINCLIENT/SHARE /mnt/ smbserver: # md /mnt/=E4=F6=FC=DF Switch to the Windows-Client and try to access the directory or to delete it. This results in a Filesystem error. The directory appears as "=F5=F7=B3 " Vice versa if you create a directory "=E4=F6=FC=DF" on the Windows-Client, it appears as "\200\220\201=E1" on the Linux-FS. /var/log/kernel reports: Jan 22 09:29:47 pcsz kernel: smb_get_length: recv error =3D 5 Jan 22 09:29:47 pcsz kernel: smb_request: result -5, setting invalid Jan 22 09:29:47 pcsz kernel: smb_retry: new pid=3D6126, generation=3D3 =20 if I try to rename the directory in the kde-kfm. Moving it on the command line with bash works. Can I use options for the code page mapping to smbmount like in vfat (say uni_xlate or so?), to correct this? =20 The /etc/smb.conf contains character set =3D iso8859-1 client code page =3D 850 and works for smbclient, but smbmount doesn't to get it right. Regards, Stefan. --=20 Fraunhofer Institut Bauphysik=09Nobelstra=DFe 12 Dipl.-Ing. Stefan Zimmermann=09D-70569 Stuttgart Abt. RA/TA=09=09=09Telefon: (0711) 970-3419 Zimmermann@ibp.fhg.de=09=09Telefax: (0711) 970-3420
Urban Widmark
2001-Jan-22 09:49 UTC
Bug: Umlaute in Filenames on smbmounted shares don't work
On Thu, 14 Dec 2000, Dipl.-Ing. Stefan Zimmermann wrote:> Using Umlaute in filenames on smbmounted shares, creates unaccessible files on > the Windows-Client. > > Used program versions: > Samba: samba 2.0.7 > System: SuSE-Linux 7.0 (kernel 2.2.16)Upgrade to 2.2.18, configure it with the correct defaults (iso8859-1 as default nls, cp850 as default remote nls for smbfs).> The /etc/smb.conf contains > character set = iso8859-1 > client code page = 850 > and works for smbclient, but smbmount doesn't to get it right.smbmount ignores those settings, and the conversions need to take place in smbfs anyway. Someone suggested that smbmount should use those values as default and pass the info to smbfs. /Urban
David L. Jarvis
2001-Jan-22 13:21 UTC
Umlaute in Filenames on smbmounted shares don't work
That's nothing, try creating/using a file named "..." (that's three dots, or periods if you prefer) But that's an M$ "feature" and applies to 98/NT alone too.> -----Original Message----- > From: samba-admin@us5.samba.org [mailto:samba-admin@us5.samba.org]On > Behalf Of Dipl.-Ing. Stefan Zimmermann > Sent: Thursday, December 14, 2000 5:14 AM > To: samba@samba.org > Subject: Bug: Umlaute in Filenames on smbmounted shares don't work > > > Using Umlaute in filenames on smbmounted shares, creates > unaccessible files on > the Windows-Client. > > Used program versions: > Samba: samba 2.0.7 > System: SuSE-Linux 7.0 (kernel 2.2.16) > Clients: Windos 98 Second edition > > To reproduce the bug do (as root): > > smbserver: # smbmount //WINCLIENT/SHARE /mnt/ > smbserver: # md /mnt/???? > > Switch to the Windows-Client and try to access the directory or > to delete it. > This results in a Filesystem error. The directory appears as "??? " > > Vice versa if you create a directory "????" on the > Windows-Client, it appears > as "\200\220\201?" on the Linux-FS. > > /var/log/kernel reports: > Jan 22 09:29:47 pcsz kernel: smb_get_length: recv error = 5 > Jan 22 09:29:47 pcsz kernel: smb_request: result -5, setting invalid > Jan 22 09:29:47 pcsz kernel: smb_retry: new pid=6126, generation=3 > > if I try to rename the directory in the kde-kfm. Moving it on the > command line > with bash works. > > Can I use options for the code page mapping to smbmount > like in vfat (say uni_xlate or so?), to correct this? > > The /etc/smb.conf contains > character set = iso8859-1 > client code page = 850 > and works for smbclient, but smbmount doesn't to get it right. > > Regards, Stefan. > -- > Fraunhofer Institut Bauphysik Nobelstra?e 12 > Dipl.-Ing. Stefan Zimmermann D-70569 Stuttgart > Abt. RA/TA Telefon: (0711) 970-3419 > Zimmermann@ibp.fhg.de Telefax: (0711) 970-3420