summaryrefslogtreecommitdiff
path: root/source3/lib/util_nttoken.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-08-31 11:18:11 +1000
committerAndrew Bartlett <abartlet@samba.org>2010-08-31 11:25:41 +1000
commiteee63b7e75e6fe3e244285698211da46052e7c18 (patch)
tree299549f06a2933445812e6c222f7affbddedf11f /source3/lib/util_nttoken.c
parent8c15cf54ae797d8f01a61228d367b5a785f06d98 (diff)
downloadsamba-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/lib/util_nttoken.c')
-rw-r--r--source3/lib/util_nttoken.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/lib/util_nttoken.c b/source3/lib/util_nttoken.c
index 60ce8e7618..737e5ebfc2 100644
--- a/source3/lib/util_nttoken.c
+++ b/source3/lib/util_nttoken.c
@@ -58,8 +58,8 @@ NT_USER_TOKEN *dup_nt_token(TALLOC_CTX *mem_ctx, const NT_USER_TOKEN *ptoken)
/* copy the privileges; don't consider failure to be critical here */
- if ( !se_priv_copy( &token->privileges, &ptoken->privileges ) ) {
- DEBUG(0,("dup_nt_token: Failure to copy SE_PRIV!. "
+ if ( !se_priv_copy( &token->privilege_mask, &ptoken->privilege_mask ) ) {
+ DEBUG(0,("dup_nt_token: Failure to copy privilages!. "
"Continuing with 0 privileges assigned.\n"));
}
@@ -108,8 +108,8 @@ NTSTATUS merge_nt_token(TALLOC_CTX *mem_ctx,
}
}
- se_priv_add(&token->privileges, &token_1->privileges);
- se_priv_add(&token->privileges, &token_2->privileges);
+ se_priv_add(&token->privilege_mask, &token_1->privilege_mask);
+ se_priv_add(&token->privilege_mask, &token_2->privilege_mask);
*token_out = token;