this is an addition to the following bug:
I have had contact to Scott Lovenberg and reported the bug to him. Unfortunately he rans out of time to fix it.
The fix is quite easy, you just have to increase the following value in:
cli->timeout = 20000; /* Timeout is in milliseconds. */
cli->timeout = 2000000; /* Timeout is in milliseconds. */
or something like that.
I think a lot of people having trouble with this and it would be good to fix this in upstream.
Please can someone fix this once and for all?
It shouldn´t be so hard to do this right?
I guess a lot of peopole who are backing up Windows clients with Samba could profit from it.
I am working on this right now, I have a patch for master almost finished. Sorry, but paying customers take precedence.
Good to hear, Im waiting for this :).
In 4.1.0 there is a "timeout" parameter in smbclient that allows this to be controlled from the command line.
So this will be fixed in 4.1.0.
Have you increased the default value as well?
Otherwise Amanda, Bacula and so on would have to integrate that new parameter first and they would also have to check if Samba 4.1.0 is installed at lowest version. All other version would give out an error i think if you would give them parameters that don´t exist.
No, the default value hasn't changed. It works well under most cases so I'm loathe to mess with it.