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:30:42 +0000 (19:30 +0100)
commitf2a19b87725f9318e983dff6358a3eee721bff08
tree4884aad65cff7808158b99ccba60481121eab2db
parentb6268f507fa3276c2ef22c58bad400a3fed48cd9
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).
source3/libsmb/smbsock_connect.c