summaryrefslogtreecommitdiff
path: root/source3/registry
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-02-18 16:03:16 +0100
committerMichael Adam <obnox@samba.org>2008-02-18 17:41:20 +0100
commitf3694d50a37c60897849a49946128228a259207e (patch)
tree2472b73e718576bad60b854ba4e1aa3c26760820 /source3/registry
parent59e7ee6d7db618432ab22e023ddc1cf03bb34da8 (diff)
downloadsamba-f3694d50a37c60897849a49946128228a259207e.tar.gz
samba-f3694d50a37c60897849a49946128228a259207e.tar.bz2
samba-f3694d50a37c60897849a49946128228a259207e.zip
Add NT Authority\System as group sid to default registry key security descriptor.
Michael (This used to be commit 9f0448ca323a6645ad662c97d92a7e30320e0c11)
Diffstat (limited to 'source3/registry')
-rw-r--r--source3/registry/reg_dispatcher.c3
1 files changed, 2 insertions, 1 deletions
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;