From f0c58007588f1e6346f378a13c9d881c25eabbd8 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 15 Jun 2012 09:14:26 +1000 Subject: [PATCH] s3-auth: Give the SYSTEM token all privileges --- source3/auth/auth_util.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source3/auth/auth_util.c b/source3/auth/auth_util.c index f270ccd413e..825de8a2e30 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; -- 2.11.4.GIT