diff options
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/util_nttoken.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/lib/util_nttoken.c b/source3/lib/util_nttoken.c index 81def87931..2fd0f088ab 100644 --- a/source3/lib/util_nttoken.c +++ b/source3/lib/util_nttoken.c @@ -58,6 +58,7 @@ struct security_token *dup_nt_token(TALLOC_CTX *mem_ctx, const struct security_t } token->privilege_mask = ptoken->privilege_mask; + token->rights_mask = ptoken->rights_mask; return token; } @@ -107,6 +108,9 @@ NTSTATUS merge_nt_token(TALLOC_CTX *mem_ctx, token->privilege_mask |= token_1->privilege_mask; token->privilege_mask |= token_2->privilege_mask; + token->rights_mask |= token_1->rights_mask; + token->rights_mask |= token_2->rights_mask; + *token_out = token; return NT_STATUS_OK; |