diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-06-15 09:14:26 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-06-15 09:18:32 +0200 |
commit | f0c58007588f1e6346f378a13c9d881c25eabbd8 (patch) | |
tree | 75ef23163924e303dfc44264d13a44867e16d392 /source3/auth | |
parent | 8cca7b09ad349e8d549eb326cdd2362cf3843773 (diff) | |
download | samba-f0c58007588f1e6346f378a13c9d881c25eabbd8.tar.gz samba-f0c58007588f1e6346f378a13c9d881c25eabbd8.tar.bz2 samba-f0c58007588f1e6346f378a13c9d881c25eabbd8.zip |
s3-auth: Give the SYSTEM token all privileges
Diffstat (limited to 'source3/auth')
-rw-r--r-- | source3/auth/auth_util.c | 4 |
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; |