diff options
Diffstat (limited to 'source3/lib/privileges_basic.c')
-rw-r--r-- | source3/lib/privileges_basic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/privileges_basic.c b/source3/lib/privileges_basic.c index c970478d32..f6080690f7 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 ); } /******************************************************************* |