2.0.6: HUP/charset/profiles/smbmount/logging

Urban Widmark urban at svenskatest.se
Wed Nov 17 14:53:27 GMT 1999


On Wed, 17 Nov 1999, Giulio Orsero wrote:

> 2)
> Localized chars.
> I have
> character set = iso8859-1
> client code page = 850
> 
> >From windows explorer to samba all is ok.
> >From samba (smbclient/smbmount) the localized chars on windows shared
> dirs are unreadable.

Known and a problem (Tridge knows and is/was thinking about a clean
solution). But doesn't smbclient show the filenames correctly? I was sure
that it did.

I have one way of doing this in smbfs, it can be found at
http://www.hojdpunkten.ac.se/054/samba/

Look for the nls thing ... (it's a smbfs and an optional smbmount patch).
If it doesn't apply cleanly just let me know and I'll upgrade it (should
be trivial).
You need to tweak the header file to choose the translation, or patch
smbmount too (and then tweak the header to tell it so). You need to
reconfigure and recompile your kernel (module?) to enable this.


Artem V. Ryabov <artem at abak.ru>
http://linux-patches.rock-projects.com/v2.2-f/smbfs-nls.html

has a different and in some ways better (more efficient) way of doing the
same thing. Don't know if it is updated to the latest.


> 5) (security)
> smbmount # 2
> When a password protected win9x share is mounted, the username and the
> length of the password used to mount it are in the ps output.
  ^^^^^^
Yes. Personally I don't care enough to try and fix it. Look in
source/client/smbmount.c:parse_mount_smb, it should be obvious what to
change.

/Urban



More information about the samba mailing list