Add NT Authority\System as group sid to default registry key security descriptor.
authorMichael Adam <obnox@samba.org>
Mon, 18 Feb 2008 15:03:16 +0000 (16:03 +0100)
committerMichael Adam <obnox@samba.org>
Mon, 18 Feb 2008 16:41:20 +0000 (17:41 +0100)
Michael
(This used to be commit 9f0448ca323a6645ad662c97d92a7e30320e0c11)

source3/registry/reg_dispatcher.c

index 778a844883219a9af0ec67510a88694b3611f4f0..cdcd045904d93f72f33f1bd8eae79d773f293cd6 100644 (file)
@@ -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;