r4777: added a smb_composite_sesssetup() async composite function. This
authorAndrew Tridgell <tridge@samba.org>
Sun, 16 Jan 2005 11:15:08 +0000 (11:15 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:08:53 +0000 (13:08 -0500)
commit7cbc768376ed0a839afca64aeea99cd53d0fbc6f
tree116b18a6fc59ec306275f32c136201f83708e5fc
parent6eabc2a711446819e0694bd56eb71ea7f101ae66
r4777: added a smb_composite_sesssetup() async composite function. This
encapsulates all the different session setup methods, including the
multi-pass spnego code.

I have hooked this into all the places that previously used the
RAW_SESSSETUP_GENERIC method, and have removed the old
RAW_SESSSETUP_GENERIC code from clisession.c and clitree.c. A nice
side effect is that these two modules are now very simple again, back
to being "raw" session setup handling, which was what was originally
intended.

I have also used this to replace the session setup code in the
smb_composite_connect() code, and used that to build a very simple
replacement for smbcli_tree_full_connection().

As a result, smbclient, smbtorture and all our other SMB connection
code now goes via these composite async functions. That should give
them a good workout!
(This used to be commit 080d0518bc7d6fd4bc3ef783e7d4d2e3275d0799)
15 files changed:
source4/include/smb_interfaces.h
source4/include/structs.h
source4/libcli/cliconnect.c
source4/libcli/composite/composite.h
source4/libcli/composite/connect.c
source4/libcli/composite/sesssetup.c [new file with mode: 0644]
source4/libcli/config.mk
source4/libcli/raw/clisession.c
source4/libcli/raw/clisocket.c
source4/libcli/raw/clitransport.c
source4/libcli/raw/clitree.c
source4/smb_server/sesssetup.c
source4/torture/basic/secleak.c
source4/torture/raw/context.c
source4/torture/rpc/xplogin.c