s3: Fix connecting to port-139 only servers
authorVolker Lendecke <vl@samba.org>
Sat, 22 Jan 2011 15:22:42 +0000 (16:22 +0100)
committerKarolin Seeger <kseeger@samba.org>
Sat, 5 Mar 2011 13:34:52 +0000 (14:34 +0100)
commit350ad25db6ed3af91339e336e6a6dafe580fa54f
tree55ca2db4ad3b4fda8fa9ce9f86da4531a920761d
parent33a17fe21ba9bed23c48b6f9e6c173997cb5917b
s3: Fix connecting to port-139 only servers

When the TCP RST came before the 5 msecs timeout kicked in, we
viewed this as final, as state->req_139 was not set yet.

Fix bug introduced by a fix for bug #7881 (winbind flaky against w2k8).
(cherry picked from commit f2a19b87725f9318e983dff6358a3eee721bff08)
source3/libsmb/smbsock_connect.c