[PATCH] smbclient timeout option
mark-clist at npsl.co.uk
Tue Jan 27 17:06:02 GMT 2009
The attached patch against samba 3.3.0 adds a --timeout option to
smbclient, which allows setting the client timeout.
The motivation is that Windows can take quite some time to respond to
directory listing requests when you have a slow machine and a directory
with a lot of files in it. This causes failures similar to the below
2009-01-27 15:14:54 Backup aborted (Call timed out: server did not
respond after 20000 milliseconds listing \blah\*)
Most people seem to solve this via hacking the hard coded timeout in
libsmbclient, so it seems this would be useful to a number of people.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1466 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20090127/113453ab/client.c.bin
More information about the samba-technical