From 02d206ee64d8b08d40204a948b696bf0b4156c5b Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 16 Mar 2012 15:01:27 +0100 Subject: s3:smb2_sesssetup: make use of the smbXsrv_session infrastructure We still have smbd_smb2_session as primary structure, but that will went away once we got rid of smbd_smb2_tcon. metze --- source3/smbd/globals.h | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'source3/smbd/globals.h') diff --git a/source3/smbd/globals.h b/source3/smbd/globals.h index aaea100a65..9eadc99c0e 100644 --- a/source3/smbd/globals.h +++ b/source3/smbd/globals.h @@ -494,8 +494,8 @@ struct smbd_smb2_session { uint64_t vuid; struct gensec_security *gensec_security; struct auth_session_info *session_info; - DATA_BLOB session_key; - bool do_signing; + + struct smbXsrv_session *smbXsrv; struct user_struct *compat_vuser; @@ -532,6 +532,8 @@ struct user_struct { struct auth_session_info *session_info; struct gensec_security *gensec_security; + + struct smbXsrv_session0 *session; }; struct smbd_server_connection { @@ -672,14 +674,6 @@ struct smbd_server_connection { struct tstream_context *stream; bool negprot_2ff; struct { - /* an id tree used to allocate vuids */ - /* this holds info on session vuids that are already - * validated for this VC */ - struct idr_context *idtree; - - /* this is the limit of vuid values for this connection */ - uint64_t limit; - struct smbd_smb2_session *list; } sessions; struct { -- cgit