Re: smbfs, 2.1.55 and smbmount

Stephen Williams (Volker.Lendecke@SerNet.DE)
Sun, 14 Sep 1997 09:40:09 +0200


-----BEGIN PGP SIGNED MESSAGE-----

> You need to pick up the latest smbfs package (2.1.0) from Volker's ftp
> site -- think it's under misc/dontuse. You'll need samba 1.9.17p1, and
> I had to make minor fixes to the patch contained in smbfs 2.1.0 to get
> smbclient to compile.
>
> Once you've patched smbclient, you mount a smbfs volume from the
> smbclient prompt, e.g. > mount /mnt/tmp -f 755

Let me justify this change: The connection setup for smb connections
can be VERY complex, and with the old scheme everything was done
within the kernel. There were several things that the old smbmount did
not do, for example NetBIOS name lookup and encrypted passwords. To do
encrypted passwords we would need DES in the kernel. I do not think
this is a good idea. With the new setup, a daemon is waiting for each
mount point, supplying a new connection upon request from the
kernel. This way it will be possible to adapt to the changes that will
come with NT5 much easier. For example, NT5 (or does NT4 already do
this?) will have a distributed file system. When doing a file lookup,
the server can tell you 'hey, this file is on that server over
there'. You need a new connection to the other server, including all
the connection setup stuff and so on. I would really prefer to do this
in user space. Another reason is that smbclient usually is quite well
maintained, which could not always be said of smbfs :-(. Bill, I
really appreciate your work, THANKS!

> I'll release an updated snapshot for smbfs shortly. I found the bug
> that was causing the connection to die, and I can now compile linux from
> a smbfs volume.

Wow! Great!

Volker

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv

iQCVAwUBNBuUxT/9BWnmOc5FAQFu+gP/TETB4gh8o4urDuUI9Evx5p6x4envNHyW
SCjGZ4FuLEOF8XyKNJf+Dv6TzQ6rdj9re8KCDgDdLhM0kaP9dOdvxNDxi/5uHZd3
s6UjCFt93eXSbT7hXfQ+qSVJSI4oUFomo9r+0pZhB/ooH6mY14RErv/8SRqqJuOE
T43jE1QgTHM=
=FwI0
-----END PGP SIGNATURE-----