1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00

s3-auth: Fix system token as just being SID_NT_SYSTEM

This removes the SID matching the sec_initial_uid().

Andrew Bartlett

Signed-off-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
Andrew Bartlett 2012-06-03 22:21:42 +10:00 committed by Andreas Schneider
parent faf24ed6ce
commit 873ec60f54

View File

@ -1049,6 +1049,9 @@ static NTSTATUS make_new_session_info_system(TALLOC_CTX *mem_ctx,
(*session_info)->unix_info->system = true;
TALLOC_FREE((*session_info)->security_token->sids);
(*session_info)->security_token->num_sids = 0;
status = add_sid_to_array_unique((*session_info)->security_token->sids,
&global_sid_System,
&(*session_info)->security_token->sids,