summaryrefslogtreecommitdiffstats
path: root/source3/lib/privileges_basic.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/privileges_basic.c
parent8c15cf54ae797d8f01a61228d367b5a785f06d98 (diff)
downloadsamba-eee63b7e75e6fe3e244285698211da46052e7c18.tar.gz
samba-eee63b7e75e6fe3e244285698211da46052e7c18.tar.xz
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/privileges_basic.c')
-rw-r--r--source3/lib/privileges_basic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/privileges_basic.c b/source3/lib/privileges_basic.c
index c970478d32a..f6080690f71 100644
--- a/source3/lib/privileges_basic.c
+++ b/source3/lib/privileges_basic.c
@@ -345,7 +345,7 @@ bool user_has_privileges(const NT_USER_TOKEN *token, const SE_PRIV *privilege)
if ( !token )
return False;
- return is_privilege_assigned( &token->privileges, privilege );
+ return is_privilege_assigned( &token->privilege_mask, privilege );
}
/****************************************************************************
@@ -358,7 +358,7 @@ bool user_has_any_privilege(NT_USER_TOKEN *token, const SE_PRIV *privilege)
if ( !token )
return False;
- return is_any_privilege_assigned( &token->privileges, privilege );
+ return is_any_privilege_assigned( &token->privilege_mask, privilege );
}
/*******************************************************************