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>
Sun, 23 Jan 2011 18:40:55 +0000 (19:40 +0100)
commitd682729a6cc1cf852798b7927a9ab436e140c668
tree378ad8f5a84b9cc25ecb0281afc9e853449c13d6
parent8dde27b777293a820b23843b2b363c3585349e98
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)
(cherry picked from commit 569be63e727e69e7e52ec39f40e60903c6826614)
source3/libsmb/smbsock_connect.c