Bug 9435 - Timeout listing problem with smbclient
Timeout listing problem with smbclient
Status: NEW
Product: Samba 3.6
Classification: Unclassified
Component: libsmbclient
unspecified
x86 All
: P5 major
: ---
Assigned To: Derrell Lipman
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-11-27 16:05 UTC by Alternativend
Modified: 2012-11-28 08:50 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alternativend 2012-11-27 16:05:46 UTC
Hi there,
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??

Thanks!
Comment 1 Alternativend 2012-11-28 08:50:01 UTC
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.