diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-07-18 13:06:47 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-07-20 09:17:13 +1000 |
commit | 9fcc617ff5a216cc4ff1a587786522d28d84c7f2 (patch) | |
tree | 7d8589355c0ae8f9a13e48238879706bd58d70c6 /source3/services | |
parent | 128ae06a619b2c50cc9379053abb18277e814747 (diff) | |
download | samba-9fcc617ff5a216cc4ff1a587786522d28d84c7f2.tar.gz samba-9fcc617ff5a216cc4ff1a587786522d28d84c7f2.tar.bz2 samba-9fcc617ff5a216cc4ff1a587786522d28d84c7f2.zip |
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 <tridge@samba.org>
Diffstat (limited to 'source3/services')
-rw-r--r-- | source3/services/svc_winreg_glue.c | 10 | ||||
-rw-r--r-- | source3/services/svc_winreg_glue.h | 12 |
2 files changed, 11 insertions, 11 deletions
diff --git a/source3/services/svc_winreg_glue.c b/source3/services/svc_winreg_glue.c index c4cd46d70d..8a0d619416 100644 --- a/source3/services/svc_winreg_glue.c +++ b/source3/services/svc_winreg_glue.c @@ -77,7 +77,7 @@ struct security_descriptor* svcctl_gen_service_sd(TALLOC_CTX *mem_ctx) struct security_descriptor *svcctl_get_secdesc(TALLOC_CTX *mem_ctx, struct messaging_context *msg_ctx, - const struct auth3_session_info *session_info, + const struct auth_session_info *session_info, const char *name) { struct dcerpc_binding_handle *h = NULL; @@ -147,7 +147,7 @@ done: } bool svcctl_set_secdesc(struct messaging_context *msg_ctx, - const struct auth3_session_info *session_info, + const struct auth_session_info *session_info, const char *name, struct security_descriptor *sd) { @@ -259,7 +259,7 @@ done: const char *svcctl_get_string_value(TALLOC_CTX *mem_ctx, struct messaging_context *msg_ctx, - const struct auth3_session_info *session_info, + const struct auth_session_info *session_info, const char *key_name, const char *value_name) { @@ -321,7 +321,7 @@ done: const char *svcctl_lookup_dispname(TALLOC_CTX *mem_ctx, struct messaging_context *msg_ctx, - const struct auth3_session_info *session_info, + const struct auth_session_info *session_info, const char *name) { const char *display_name = NULL; @@ -344,7 +344,7 @@ const char *svcctl_lookup_dispname(TALLOC_CTX *mem_ctx, const char *svcctl_lookup_description(TALLOC_CTX *mem_ctx, struct messaging_context *msg_ctx, - const struct auth3_session_info *session_info, + const struct auth_session_info *session_info, const char *name) { const char *description = NULL; diff --git a/source3/services/svc_winreg_glue.h b/source3/services/svc_winreg_glue.h index e17d6692dc..c9366b377d 100644 --- a/source3/services/svc_winreg_glue.h +++ b/source3/services/svc_winreg_glue.h @@ -24,34 +24,34 @@ #ifndef SVC_WINREG_GLUE_H #define SVC_WINREG_GLUE_H -struct auth3_session_info; +struct auth_session_info; struct security_descriptor* svcctl_gen_service_sd(TALLOC_CTX *mem_ctx); struct security_descriptor *svcctl_get_secdesc(TALLOC_CTX *mem_ctx, struct messaging_context *msg_ctx, - const struct auth3_session_info *session_info, + const struct auth_session_info *session_info, const char *name); bool svcctl_set_secdesc(struct messaging_context *msg_ctx, - const struct auth3_session_info *session_info, + const struct auth_session_info *session_info, const char *name, struct security_descriptor *sd); const char *svcctl_get_string_value(TALLOC_CTX *mem_ctx, struct messaging_context *msg_ctx, - const struct auth3_session_info *session_info, + const struct auth_session_info *session_info, const char *key_name, const char *value_name); const char *svcctl_lookup_dispname(TALLOC_CTX *mem_ctx, struct messaging_context *msg_ctx, - const struct auth3_session_info *session_info, + const struct auth_session_info *session_info, const char *name); const char *svcctl_lookup_description(TALLOC_CTX *mem_ctx, struct messaging_context *msg_ctx, - const struct auth3_session_info *session_info, + const struct auth_session_info *session_info, const char *name); #endif /* SVC_WINREG_GLUE_H */ |