From eee63b7e75e6fe3e244285698211da46052e7c18 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 31 Aug 2010 11:18:11 +1000 Subject: s3-auth Rename NT_USER_TOKEN privileges -> privilege_mask This is closer to the struct security_token from security.idl Andrew Bartlett --- source3/auth/token_util.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source3/auth') diff --git a/source3/auth/token_util.c b/source3/auth/token_util.c index 87022fb1e4..feb930f686 100644 --- a/source3/auth/token_util.c +++ b/source3/auth/token_util.c @@ -112,7 +112,7 @@ NT_USER_TOKEN *get_root_nt_token( void ) token = create_local_nt_token(talloc_autofree_context(), &u_sid, False, 1, &global_sid_Builtin_Administrators); - token->privileges = se_disk_operators; + token->privilege_mask = se_disk_operators; for_cache = token; @@ -642,7 +642,7 @@ static NTSTATUS finalize_local_nt_token(struct nt_user_token *result, /* Add privileges based on current user sids */ - get_privileges_for_sids(&result->privileges, result->sids, + get_privileges_for_sids(&result->privilege_mask, result->sids, result->num_sids); return NT_STATUS_OK; @@ -671,7 +671,7 @@ void debug_nt_user_token(int dbg_class, int dbg_lev, NT_USER_TOKEN *token) ("SID[%3lu]: %s\n", (unsigned long)i, sid_string_dbg(&token->sids[i]))); - dump_se_priv( dbg_class, dbg_lev, &token->privileges ); + dump_se_priv( dbg_class, dbg_lev, &token->privilege_mask ); } /**************************************************************************** -- cgit