1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/source4/smb_server
Sam Liddicott 176302dc05 Add async support for reply_tcon* and ntvfs_connect
smbsrv_tcon_backend no longer creates the ntvfs_request wrapper,
so smbsrv_reply_tcon* can now do this and then invoke ntvfs_connect
in the typical manner using SMBSRV_SETUP_NTVFS_REQUEST and
SMBSRV_CALL_NTVFS_BACKEND

Previously smbsrv_tcon_backend has been responsible for instantiating
the ntvfs_module_context to service a tree-connect request, and
then create an ntvfs_request wrapper around the smbsrv_request
and pass this to ntvfs_connect for the newly created ntvfs.

These actions could not be invoked asynchronously.

This meant that any client requests made while instantiating the
ntvfs module, including any composite's used during authentication
(or related client connections for the case of proxy modules)
would block other ntvfs modules and requests in the current process as
they executed a nested event loop to await completion.

Signed-off-by: Sam Liddicott <sam@liddicott.com>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-04-23 16:57:18 +02:00
..
smb Add async support for reply_tcon* and ntvfs_connect 2009-04-23 16:57:18 +02:00
smb2 Remove auth/ntlm as a dependency of GENSEC by means of function pointers. 2009-02-13 10:24:16 +11:00
blob.c Remove unused include param/param.h. 2008-10-24 16:37:56 +02:00
config.mk Fix two remaining missing symbols in smbtorture4. 2008-12-22 23:00:10 +01:00
handle.c Fix include paths to new location of libutil. 2008-10-11 21:31:42 +02:00
management.c s4:irpc: avoid c++ reserved word 'private' 2009-02-01 00:17:20 +01:00
session.c Fix include paths to new location of libutil. 2008-10-11 21:31:42 +02:00
smb_samba3.c Fix the mess with ldb includes. 2009-01-30 01:02:03 -05:00
smb_server.c s4:service_stream: s/private/private_data 2009-02-02 13:09:00 +01:00
smb_server.h s4:lib/tevent: rename structs 2008-12-29 20:46:40 +01:00
tcon.c Fix include paths to new location of libutil. 2008-10-11 21:31:42 +02:00