diff options
author | Andrew Bartlett <abartlet@samba.org> | 2010-08-31 11:18:11 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2010-08-31 11:25:41 +1000 |
commit | eee63b7e75e6fe3e244285698211da46052e7c18 (patch) | |
tree | 299549f06a2933445812e6c222f7affbddedf11f /source3/auth | |
parent | 8c15cf54ae797d8f01a61228d367b5a785f06d98 (diff) | |
download | samba-eee63b7e75e6fe3e244285698211da46052e7c18.tar.gz samba-eee63b7e75e6fe3e244285698211da46052e7c18.tar.bz2 samba-eee63b7e75e6fe3e244285698211da46052e7c18.zip |
s3-auth Rename NT_USER_TOKEN privileges -> privilege_mask
This is closer to the struct security_token from security.idl
Andrew Bartlett
Diffstat (limited to 'source3/auth')
-rw-r--r-- | source3/auth/token_util.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 ); } /**************************************************************************** |