summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/auth/proto.h4
-rw-r--r--source3/auth/token_util.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/source3/auth/proto.h b/source3/auth/proto.h
index 2839793472..8ff9fa9b99 100644
--- a/source3/auth/proto.h
+++ b/source3/auth/proto.h
@@ -284,8 +284,8 @@ struct security_token *create_local_nt_token(TALLOC_CTX *mem_ctx,
const struct dom_sid *groupsids);
NTSTATUS create_local_nt_token_from_info3(TALLOC_CTX *mem_ctx,
bool is_guest,
- struct netr_SamInfo3 *info3,
- struct extra_auth_info *extra,
+ const struct netr_SamInfo3 *info3,
+ const struct extra_auth_info *extra,
struct security_token **ntok);
void debug_unix_user_token(int dbg_class, int dbg_lev, uid_t uid, gid_t gid,
int n_groups, gid_t *groups);
diff --git a/source3/auth/token_util.c b/source3/auth/token_util.c
index 22df21f5ed..0d47a3f968 100644
--- a/source3/auth/token_util.c
+++ b/source3/auth/token_util.c
@@ -211,8 +211,8 @@ static NTSTATUS finalize_local_nt_token(struct security_token *result,
NTSTATUS create_local_nt_token_from_info3(TALLOC_CTX *mem_ctx,
bool is_guest,
- struct netr_SamInfo3 *info3,
- struct extra_auth_info *extra,
+ const struct netr_SamInfo3 *info3,
+ const struct extra_auth_info *extra,
struct security_token **ntok)
{
struct security_token *usrtok = NULL;