Bug 3509 - smbclient file deposit to Windows Server 2003 times out when no connection
Summary: smbclient file deposit to Windows Server 2003 times out when no connection
Status: NEW
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: smbclient (show other bugs)
Version: 3.0.21b
Hardware: x86 Linux
: P3 normal
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-13 11:36 UTC by Marc SCHAEFER
Modified: 2006-02-20 07:14 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 Marc SCHAEFER 2006-02-13 11:36:12 UTC
When no Windows-to-Windows session is opened on the Windows Server 2003 file server, the smbclient command timeouts as follows:

debian:/scratch/SAMBA/samba-3.0.21b/source# time dd if=/dev/zero | ./bin/smbclient //192.168.100.25/backup -U user PASSWORD -c 'put - blabla'
Domain=[TEMP] OS=[Windows Server 2003 3790 Service Pack 1] Server=[Windows Server 2003 5.2]
Error writing file: Call timed out: server did not respond after 20000 milliseconds
Call timed out: server did not respond after 20000 milliseconds closing remote file \blabla
1572619+0 records in
1572618+0 records out
805180416 bytes transferred in 41.018896 seconds (19629500 bytes/sec)

with or without:
   use sendfile = no
   large readwrite = no
   max xmit = 16644

in /etc/samba/smb.conf (ok, not sure the samba-3.0.21b reads it, probably not).

with 3.0.14a-Debian (stable) and with samba-3.0.21b from the Samba
WWW server, compiled locally.
Comment 1 Marc SCHAEFER 2006-02-20 07:14:42 UTC
I also get those errors:

write_socket_data: write failure. Error = Connection reset by peer
write_socket: Error writing 16636 bytes to socket 3: ERRNO = Connection reset by peer
Error writing 16636 bytes to client. -1 (Connection reset by peer)
Error writing file: Write error: Connection reset by peer