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.
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