The problem is that the timeout handling in open_socket_out is not correct. It loops and
increases the timeout between polls but resets the waited time instead of remembering how long
it alread waited.
As a consequence the default timeout of 20000 = 20 seconds lasts AGES
I also added a parameter to smbmount to set the connect timeout. Because of CIFS, the mount
command tries to connect 3 times, waiting in all (in the case the timeout would have worked as
expected) 60 Seconds which is long if you use the automounter.
Hence I added the timeout=xxxxx option (just line NFS)
Created attachment 469 [details]
solution for both problems
this works (Tried on my PC = Linux Debian 2.6.5)
If it's still broken in 3.5, please reopen.
3.0 isn't supported anymore.