1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/source4
Andrew Tridgell e89fd49df7 r4757: added the ability of the clisocket level of libcli to handle async
socket connections. This was complicated by a few factors:

 - it meant moving the event context from clitransport to clisocket,
   so lots of structures changed

 - we need to asynchronously handle connection to lists of port
   numbers, not just one port number. The code internally tries each
   port in the list in turn, without ever blocking

 - the man page on how connect() is supposed to work asynchronously
   doesn't work in practice (now why doesn't this surprise me?). The
   getsockopt() for SOL_ERROR is supposed to retrieve the error, but
   in fact the next (unrelated) connect() call on the same socket also
   gets an error, though not the right error. To work around this I
   need to tear down the whole socket between each attempted port. I
   hate posix.

Note that clisocket.c still does a blocking name resolution call in
smbcli_sock_connect_byname(). That will be fixed when we add the async
NBT resolution code.

Also note that I arranged things so that every SMB connection is now
async internally, so using plain smbclient or smbtorture tests all the
async features of this new code.
(This used to be commit 468f8ebbfd)
2007-10-10 13:08:50 -05:00
..
auth r4620: - add interface functions to the auth subsystem so that callers doesn't need to 2007-10-10 13:08:34 -05:00
build r4729: add dummy "winbind" service 2007-10-10 13:08:49 -05:00
client r4547: - added talloc_new(ctx) macro that is a neater form of the common talloc(ctx, 0) call. 2007-10-10 13:08:20 -05:00
codepages r42: importing .cvsignore files 2007-10-10 12:50:40 -05:00
dsdb r4698: - Initial implementation of trusted domains in LSA. 2007-10-10 13:08:44 -05:00
gtk r4526: - much simpler (and more accurate!) ndr_size_*() code generation. It 2007-10-10 13:08:18 -05:00
include r4726: - use the name tcon and tid instead of conn and cnum 2007-10-10 13:08:48 -05:00
intl r3447: more include/system/XXX.h include files 2007-10-10 13:05:12 -05:00
ldap_server r4728: split up server_services into: 2007-10-10 13:08:49 -05:00
lib r4756: a slight tidy up in the events code 2007-10-10 13:08:50 -05:00
libads r4384: Try again to fix compiling against a specified KRB5 library. 2007-10-10 13:07:41 -05:00
libcli r4757: added the ability of the clisocket level of libcli to handle async 2007-10-10 13:08:50 -05:00
libnet r4722: Start to add 'net join' to Samba4. 2007-10-10 13:08:48 -05:00
librpc r4757: added the ability of the clisocket level of libcli to handle async 2007-10-10 13:08:50 -05:00
nsswitch r3733: More build system fixes/features: 2007-10-10 13:05:47 -05:00
ntvfs r4757: added the ability of the clisocket level of libcli to handle async 2007-10-10 13:08:50 -05:00
param r4725: make "password server" a string list 2007-10-10 13:08:48 -05:00
passdb r4682: A LDB-based secrets implementation in Samba4. 2007-10-10 13:08:42 -05:00
po first public release of samba4 code 2003-08-13 01:53:07 +00:00
rpc_server r4745: remove the distinguishedName attribute adds from samr. See the 2007-10-10 13:08:49 -05:00
script r4748: removed unnecessary distinguishedName from provisioning 2007-10-10 13:08:49 -05:00
scripting r4546: Use talloc_p() instad of talloc() 2007-10-10 13:08:20 -05:00
smb_server r4730: remove unused struct elements 2007-10-10 13:08:49 -05:00
smbd r4729: add dummy "winbind" service 2007-10-10 13:08:49 -05:00
torture r4757: added the ability of the clisocket level of libcli to handle async 2007-10-10 13:08:50 -05:00
utils r4722: Start to add 'net join' to Samba4. 2007-10-10 13:08:48 -05:00
winbind r4729: add dummy "winbind" service 2007-10-10 13:08:49 -05:00
aclocal.m4 r968: use sinlcude() and no function, that's more portable between 2007-10-10 12:56:24 -05:00
autogen.sh r4572: remove configure and include/config.h* 2007-10-10 13:08:28 -05:00
config.guess put config.guess in the right place! 2003-08-13 02:06:45 +00:00
config.sub first public release of samba4 code 2003-08-13 01:53:07 +00:00
configure.developer r322: use the -C option to configure for developers (makes a huge speed difference) 2007-10-10 12:51:32 -05:00
configure.in r4473: - moved talloc into its own lib/talloc/ area 2007-10-10 13:07:55 -05:00
configure.nodebug.developer first public release of samba4 code 2003-08-13 01:53:07 +00:00
configure.tridge.opt first public release of samba4 code 2003-08-13 01:53:07 +00:00
dynconfig.c r3162: Add client-side support for the ncalrpc: and ncacn_unix_stream: transports. 2007-10-10 13:02:27 -05:00
hklm.ldif r4398: Make usrmgr.exe believe we're a DC. Otherwise it will not show global groups. 2007-10-10 13:07:43 -05:00
install-sh first public release of samba4 code 2003-08-13 01:53:07 +00:00
provision.ldif r4748: removed unnecessary distinguishedName from provisioning 2007-10-10 13:08:49 -05:00
provision.zone r2879: the domain name should be resolved to the ip addresses of all dc's 2007-10-10 12:59:41 -05:00
rootdse.ldif r3754: merge in ldb modules support from the tmp branch ldbPlugins 2007-10-10 13:05:51 -05:00
samba3_nmbd.patch r4454: This is the patch I use to Samba3 nmbd to allow a WinXP box 2007-10-10 13:07:52 -05:00
secrets.ldif r4682: A LDB-based secrets implementation in Samba4. 2007-10-10 13:08:42 -05:00
VERSION r412: as we decide to not do 3.0.2a releases anymore, 2007-10-10 12:51:37 -05:00