The Samba-Bugzilla – Bug 9435
Timeout listing problem with smbclient
Last modified: 2012-11-28 08:50:01 UTC
i have searched around now for quite a long time and I hope that you can help me.
Im doing my backups with Amanda and this program uses smbclient to transfer the .tar files over the net.
On large shares the smbclient returns a timeout which causes a lot following bugs and errors:
ERROR smbclient: NT_STATUS_IO_TIMEOUT listing
? smbclient: Didn't get entire file. size NT_STATUS_OK
? smbclient: NT_STATUS_CONNECTION_INVALID listing
I think this happens because Windows needs some time to give back the correct size of all the folders in the share. I have one share around here with about 93000 files and even a manual command like:
smbclient "\\\\SERVER\\SHARE" -d 0 -U backup -E -W MYDOMAIN -c "archive 0;recurse;du"
fails. Is there any chance that this will be fixed or a way for me to increase the timeout value for smbclient via smb.conf??
I forgot to say that Im using Debian wheezy with smbclient 3.6.9.
If you could create a .deb for me with a higher timeout, with maybe 60 or 90 seconds I could test out if it´s working.