s3:auth Remove NT_USER_TOKEN
[abartlet/samba.git/.git] / source3 / lib / privileges_basic.c
index 4922435a95e83160d89bf18e9df4bb70ffc6c308..c6705c5f55b495efb4f9f98fcc3e7ec31ac70a6a 100644 (file)
@@ -281,7 +281,7 @@ const char* get_privilege_dispname( const char *name )
  at a time here.
 *****************************************************************************/
 
-bool user_has_privileges(const NT_USER_TOKEN *token, const uint64_t *privilege)
+bool user_has_privileges(const struct security_token *token, const uint64_t *privilege)
 {
        if ( !token )
                return False;
@@ -294,7 +294,7 @@ bool user_has_privileges(const NT_USER_TOKEN *token, const uint64_t *privilege)
  at a time here.
 *****************************************************************************/
 
-bool user_has_any_privilege(NT_USER_TOKEN *token, const uint64_t *privilege)
+bool user_has_any_privilege(struct security_token *token, const uint64_t *privilege)
 {
        if ( !token )
                return False;