From f3694d50a37c60897849a49946128228a259207e Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Mon, 18 Feb 2008 16:03:16 +0100 Subject: Add NT Authority\System as group sid to default registry key security descriptor. Michael (This used to be commit 9f0448ca323a6645ad662c97d92a7e30320e0c11) --- source3/registry/reg_dispatcher.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source3/registry/reg_dispatcher.c') diff --git a/source3/registry/reg_dispatcher.c b/source3/registry/reg_dispatcher.c index 778a844883..cdcd045904 100644 --- a/source3/registry/reg_dispatcher.c +++ b/source3/registry/reg_dispatcher.c @@ -69,7 +69,8 @@ static WERROR construct_registry_sd(TALLOC_CTX *ctx, SEC_DESC **psd) } sd = make_sec_desc(ctx, SEC_DESC_REVISION, SEC_DESC_SELF_RELATIVE, - &global_sid_Builtin_Administrators, NULL, NULL, acl, + &global_sid_Builtin_Administrators, + &global_sid_System, NULL, acl, &sd_size); if (sd == NULL) { return WERR_NOMEM; -- cgit