summaryrefslogtreecommitdiff
path: root/source3/libsmb/smbsock_connect.c
AgeCommit message (Collapse)AuthorFilesLines
2012-05-30s3:libsmb: use nb_connect_send() directly instead of doing a 0 timer for ↵Stefan Metzmacher1-4/+9
port 139 metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed May 30 20:51:51 CEST 2012 on sn-devel-104
2012-02-16Rename obscure defined constants.Christopher R. Hertel (crh)1-7/+7
Replaced the undescriptive SMB_PORT1 and SMB_PORT2 defined constants with the slightly more descriptive names NBT_SMB_PORT and TCP_SMB_PORT. Also replaced several hard-coded references to the well-known port numbers (139 and 445, respectively) as appropriate. Small changes to clarify some comments regarding the two transport types. Signed-off-by: Simo Sorce <idra@samba.org> Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Thu Feb 16 08:29:41 CET 2012 on sn-devel-104
2011-10-24libcli/smb: move source3/libsmb/read_smb.* to the toplevelStefan Metzmacher1-1/+1
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Oct 24 10:18:06 CEST 2011 on sn-devel-104
2011-08-28s3:libsmb: make cli_session_request_send/recv() staticStefan Metzmacher1-6/+6
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Aug 28 20:29:01 CEST 2011 on sn-devel-104
2011-08-28s3:libsmb: move cli_session_request*() to smbsock_connect.cStefan Metzmacher1-0/+129
metze
2011-08-23s/event_context/tevent_context/ in smbsock_any_connectVolker Lendecke1-2/+2
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Aug 23 18:21:58 CEST 2011 on sn-devel-104
2011-08-23s/event_context/tevent_context/ in smbsock_connectVolker Lendecke1-2/+2
2011-06-09s3-param Remove special case for global_myname(), rename to lp_netbios_name()Andrew Bartlett1-1/+1
There is no reason this can't be a normal constant string in the loadparm system, now that we have lp_set_cmdline() to handle overrides correctly. Andrew Bartlett
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.