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:33:07 +0000 (19:33 +0100)
commit569be63e727e69e7e52ec39f40e60903c6826614
treecea2c62f9743d9fe98cd09e2c3e1b3315440ce15
parent716426b31f24923e94099e99580ae7750eb5e498
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