Re: reconnection patch for smbmount

Bill Hawes (whawes@star.net)
Tue, 20 Jan 1998 10:21:05 -0500


John R. Corey wrote:
>
> Great work! I just gave the patch a whirl (had to do a little manual
> patching since I had the 1.9.18p1 sources), and after waiting for the
> connection to drop, it reconnected successfully. At last smbfs is usable
> again :).

Good, glad to hear it's working.

One tip on testing for reconnection -- instead of waiting for the server
to drop the connection, you can change the share property to "not
shared", apply it, then change it back to shared. The next attempt to
access the share from smbfs will fail on a "tree id invalid" and
initiate the reconnection process.

Regards,
Bill