Hello, I like to backup a MS W95 workstation under Linux. I use Linux SuSE 6.4, Kernel 2.2.16 (from the SuSE 7.0), Samba 2.0.6 and Windows 95b (OSR2). The backup medium is a CD-RW burned with x-cdroast. The burning program reads the smb mounted filesystem and generates an ISO9660 filesystem with Joilet extension. Unfortunately Windows uses Umlaute like "? ? ? ? ? ?" in filenames or directory names. Specially the directory "Zubeh?r" makes the problem. Unter Linux I see this directory as "Zubeh?r" or "Zubeh r". On the other hand I can create in a SMB mounted shared directory under Linux also a file "Zubeh?r". But then it looks in Windows like "Zubeh?r". (Possibly the emailer has also some problems with the Umlautes yet) Additional Information: smbmount reads the /etc/smb.conf file and it contains already the required settings: [global] .... security = user client code page = 850 character set = iso8859-1 I guess it has to do with code table conversions (CP850 to ISO8850-1 code tables and visa verse) or with the National language support (NLS) or with a bug in smbmount and cmbclient with 8bit filenames (see http://lists.samba.org/pipermail/samba/2000-September/024699.html) All what I found was: http://marc.theaimsgroup.com/?l=samba-ntdom&m=93142304519090&w=2 So the questions are: 1. Is it possible to convert the filenames correct? 2. If yes, what I have to do to fix this problem? Thanks for hints, Peter ------------------------------------------------------------------------- Peter Henn Dortmund Germany mailto:Peter.Henn@web.de
On Mon, 08 Jan 2001 18:10:54 +0100, you wrote:>So the questions are: >1. Is it possible to convert the filenames correct? >2. If yes, what I have to do to fix this problem?kernel smbfs problem, see: http://www.hojdpunkten.ac.se/054/samba/ -- giulioo@pobox.com
On Mon, 8 Jan 2001, Giulio Orsero wrote:> On Mon, 08 Jan 2001 18:10:54 +0100, you wrote: > > >So the questions are: > >1. Is it possible to convert the filenames correct? > >2. If yes, what I have to do to fix this problem? > kernel smbfs problem, see: > http://www.hojdpunkten.ac.se/054/samba/Or much simpler, just upgrade your kernel to 2.2.18. It allows you to configure a default "nls" for smbfs (2.4.0 allows a modified smbmount to set it per-mount ...). 2.2.18 has other smbfs fixes that everyone needs (well ...) 2.2.16 has some potentially kernel oopsable bugs in smbfs. /Urban
> > On Mon, 8 Jan 2001, Giulio Orsero wrote: > > > On Mon, 08 Jan 2001 18:10:54 +0100, you wrote: > > > > >So the questions are: > > >1. Is it possible to convert the filenames correct? > > >2. If yes, what I have to do to fix this problem? > > kernel smbfs problem, see: > > http://www.hojdpunkten.ac.se/054/samba/ >thanks for your help. It works fine. Nevertheless I decide to patch my working SuSE 7.0 kernel 2.2.16 and patch the samba package samba-2.0.7-42.src.rpm with your patches. Notes: - The kernel works also on my SuSE 6.4 distribution. - Before you build the samba rpm, save your /etc/smb.conf, because the building script from suse do not use a virtual root directory> Or much simpler, just upgrade your kernel to 2.2.18. It allows you to > configure a default "nls" for smbfs (2.4.0 allows a modified smbmount to > set it per-mount ...). > > 2.2.18 has other smbfs fixes that everyone needs (well ...) > 2.2.16 has some potentially kernel oopsable bugs in smbfs. > > /UrbanI would expect the nls default settings in the /etc/smb.conf and not in the kernel. So it would be a better idea that smbmount will read the default values from the /etc/smb.conf directly - also for kernel 2.2.18 user. And here the spec file patch: ------------ Patch for the spec file: ------------------- --- samba.spec~ Thu Jul 20 11:56:54 2000 +++ samba.spec Tue Jan 9 23:42:13 2001 @@ -12,7 +12,7 @@ Vendor: SuSE GmbH, Nuernberg, Germany Distribution: SuSE Linux 7.0 (i386) Name: samba -Release: 42 +Release: 45 Packager: feedback@suse.de Copyright: 1992-95 Andrew Tridgell, Karl Auer, Jeremy Allison @@ -26,6 +26,7 @@ Source: samba-2.0.7.tar.gz Source1: samba.pamd Patch: samba-2.0.7.dif +Patch1: samba-2.0.7-2.2.16pre2-nls.patch %package -n smbclnt Summary: Samba client utilities Autoreqprov: on @@ -33,6 +34,7 @@ %prep %setup -n samba-2.0.7 %patch +%patch -P 1 -p1 %build cd source @@ -244,6 +246,8 @@ %changelog -n samba +* Tue Jan 09 2001 - peter.henn@web.de +- add nls support from Urban Widmark * Tue Jul 11 2000 - choeger@suse.de - split package into client and server parts client package name: smbclnt -------------------------------------------------------------------- Peter