mirror of
https://github.com/samba-team/samba.git
synced 2025-11-15 16:23:49 +03:00
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>
This commit is contained in:
@@ -85,7 +85,7 @@ static WERROR _split_hive_key(TALLOC_CTX *mem_ctx,
|
||||
}
|
||||
|
||||
static NTSTATUS _winreg_int_openkey(TALLOC_CTX *mem_ctx,
|
||||
const struct auth_serversupplied_info *session_info,
|
||||
const struct auth3_session_info *session_info,
|
||||
struct messaging_context *msg_ctx,
|
||||
struct dcerpc_binding_handle **h,
|
||||
uint32_t reg_type,
|
||||
@@ -239,7 +239,7 @@ static NTSTATUS _winreg_int_openkey(TALLOC_CTX *mem_ctx,
|
||||
}
|
||||
|
||||
NTSTATUS dcerpc_winreg_int_openkey(TALLOC_CTX *mem_ctx,
|
||||
const struct auth_serversupplied_info *server_info,
|
||||
const struct auth3_session_info *server_info,
|
||||
struct messaging_context *msg_ctx,
|
||||
struct dcerpc_binding_handle **h,
|
||||
const char *key,
|
||||
@@ -296,7 +296,7 @@ NTSTATUS dcerpc_winreg_int_openkey(TALLOC_CTX *mem_ctx,
|
||||
}
|
||||
|
||||
NTSTATUS dcerpc_winreg_int_hklm_openkey(TALLOC_CTX *mem_ctx,
|
||||
const struct auth_serversupplied_info *server_info,
|
||||
const struct auth3_session_info *server_info,
|
||||
struct messaging_context *msg_ctx,
|
||||
struct dcerpc_binding_handle **h,
|
||||
const char *key,
|
||||
|
||||
Reference in New Issue
Block a user