summaryrefslogtreecommitdiff
path: root/source3/libsmb/smbsock_connect.c
AgeCommit message (Collapse)AuthorFilesLines
2011-05-28s3: Fix smbsock_connectVolker Lendecke1-1/+1
If all connection attempts fail, return immediately. Plain bug.
2011-05-14s3: Paranoia in smbsock_connect_state_destructorVolker Lendecke1-0/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat May 14 14:19:01 CEST 2011 on sn-devel-104
2011-05-06s3-includes: finally only include client.h when libsmb is used.Günther Deschner1-0/+1
Guenther
2011-05-05s3-libsmb: run minimal_includes.pl.Günther Deschner1-1/+0
Guenther
2011-04-29s3-tevent: only include ../lib/util/tevent wrappers where needed.Günther Deschner1-0/+1
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Apr 29 14:00:30 CEST 2011 on sn-devel-104
2011-04-25s3: Add a 10-second timeout for the 445 or netbios connection to a DCVolker Lendecke1-1/+12
2011-03-30s3-libsmb: put namequery headers to nmblib.hGünther Deschner1-0/+1
We might find a better name for it and merge other namequery related things as well here... Guenther
2011-01-22s3: Fix connecting to port-139 only serversVolker Lendecke1-3/+5
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. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Jan 22 17:42:41 CET 2011 on sn-devel-104
2010-12-29s3: Allow more control over smbsock_[any_]connectVolker Lendecke1-25/+88
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Dec 29 23:30:44 CET 2010 on sn-devel-104
2010-12-22s3: Retry *SMBSERVER in nb_connectVolker Lendecke1-2/+47
2010-12-22s3: Add smbsock_any_connectVolker Lendecke1-1/+221
2010-12-22s3: Add an async smbsock_connectVolker Lendecke1-0/+308
This connects to 445 and after 5 milliseconds also to 139. It treats a netbios session setup failure as equivalent as a TCP connect failure. So if 139 is faster but fails the nb session setup, the 445 still has the chance to succeed.