summaryrefslogtreecommitdiff
path: root/source3/auth/auth_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/auth/auth_util.c')
-rw-r--r--source3/auth/auth_util.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/auth/auth_util.c b/source3/auth/auth_util.c
index f270ccd413..825de8a2e3 100644
--- a/source3/auth/auth_util.c
+++ b/source3/auth/auth_util.c
@@ -982,6 +982,10 @@ static NTSTATUS make_system_session_info_from_pw(TALLOC_CTX *mem_ctx,
}
talloc_free(server_info);
+
+ /* SYSTEM has all privilages */
+ (*session_info)->security_token->privilege_mask = ~0;
+
talloc_steal(mem_ctx, *session_info);
status = NT_STATUS_OK;