From f16d8f4eb86ecc4741c25e5ed87b2ea4c6717a31 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 15 Jul 2011 12:45:17 +1000 Subject: s3-auth Use struct auth3_session_info outside the auth subsystem This seperation between the structure used inside the auth modules and in the wider codebase allows for a gradual migration from struct auth_serversupplied_info -> struct auth_session_info (from auth.idl) The idea here is that we keep a clear seperation between the structure before and after the local groups, local user lookup and the session key modifications have been processed, as the lack of this seperation has caused issues in the past. Andrew Bartlett Signed-off-by: Andrew Tridgell --- source3/include/smb.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source3/include/smb.h') diff --git a/source3/include/smb.h b/source3/include/smb.h index 8ba878034f..3242c604d6 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -305,7 +305,7 @@ typedef struct files_struct { #include "sysquotas.h" struct vuid_cache_entry { - struct auth_serversupplied_info *session_info; + struct auth3_session_info *session_info; uint16_t vuid; bool read_only; }; @@ -403,7 +403,7 @@ typedef struct connection_struct { * This represents the user information on this connection. Depending * on the vuid using this tid, this might change per SMB request. */ - struct auth_serversupplied_info *session_info; + struct auth3_session_info *session_info; /* * If the "force group" parameter is set, this is the primary gid that @@ -1447,7 +1447,7 @@ typedef struct user_struct { TDB key string */ int homes_snum; - struct auth_serversupplied_info *session_info; + struct auth3_session_info *session_info; struct auth_ntlmssp_state *auth_ntlmssp_state; } user_struct; -- cgit