From 9fcc617ff5a216cc4ff1a587786522d28d84c7f2 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 18 Jul 2011 13:06:47 +1000 Subject: s3-auth Use the common auth_session_info This patch finally has the same structure being used to describe the authorization data of a user across the whole codebase. This will allow of our session handling to be accomplished with common code. Andrew Bartlett Signed-off-by: Andrew Tridgell --- source3/smbd/sesssetup.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source3/smbd/sesssetup.c') diff --git a/source3/smbd/sesssetup.c b/source3/smbd/sesssetup.c index 76f96b1e42..b6a3243b85 100644 --- a/source3/smbd/sesssetup.c +++ b/source3/smbd/sesssetup.c @@ -81,7 +81,7 @@ static NTSTATUS do_map_to_guest_server_info(NTSTATUS status, is set approriately */ NTSTATUS do_map_to_guest(NTSTATUS status, - struct auth3_session_info **session_info, + struct auth_session_info **session_info, const char *user, const char *domain) { user = user ? user : ""; @@ -282,7 +282,7 @@ static void reply_spnego_kerberos(struct smb_request *req, int sess_vuid = req->vuid; NTSTATUS ret = NT_STATUS_OK; DATA_BLOB ap_rep, ap_rep_wrapped, response; - struct auth3_session_info *session_info = NULL; + struct auth_session_info *session_info = NULL; DATA_BLOB session_key = data_blob_null; uint8 tok_id[2]; DATA_BLOB nullblob = data_blob_null; @@ -487,7 +487,7 @@ static void reply_spnego_ntlmssp(struct smb_request *req, { bool do_invalidate = true; DATA_BLOB response; - struct auth3_session_info *session_info = NULL; + struct auth_session_info *session_info = NULL; struct smbd_server_connection *sconn = req->sconn; if (NT_STATUS_IS_OK(nt_status)) { @@ -1328,7 +1328,7 @@ void reply_sesssetup_and_X(struct smb_request *req) const char *primary_domain; struct auth_usersupplied_info *user_info = NULL; struct auth_serversupplied_info *server_info = NULL; - struct auth3_session_info *session_info = NULL; + struct auth_session_info *session_info = NULL; uint16 smb_flag2 = req->flags2; NTSTATUS nt_status; -- cgit