summaryrefslogtreecommitdiff
path: root/source3/include/smb.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-07-15 12:45:17 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-07-20 09:17:10 +1000
commitf16d8f4eb86ecc4741c25e5ed87b2ea4c6717a31 (patch)
treebd839288be389cbfe84852e0a114b3ee77589462 /source3/include/smb.h
parentd7d8a5ed94a2b572b6818008a858f8c6b529dd03 (diff)
downloadsamba-f16d8f4eb86ecc4741c25e5ed87b2ea4c6717a31.tar.gz
samba-f16d8f4eb86ecc4741c25e5ed87b2ea4c6717a31.tar.bz2
samba-f16d8f4eb86ecc4741c25e5ed87b2ea4c6717a31.zip
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 <tridge@samba.org>
Diffstat (limited to 'source3/include/smb.h')
-rw-r--r--source3/include/smb.h6
1 files changed, 3 insertions, 3 deletions
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;