Umlaut in smbfs filenames

Peter Henn peter.henn at web.de
Wed Jan 10 18:19:05 GMT 2001


> 
> 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.
> 
> /Urban

I 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 at 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 at web.de
+- add nls support from Urban Widmark
 * Tue Jul 11 2000 - choeger at suse.de
 - split package into client and server parts
   client package name: smbclnt 
--------------------------------------------------------------------

Peter






More information about the samba mailing list