summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-02-18 15:51:56 +0100
committerMichael Adam <obnox@samba.org>2008-02-18 17:41:20 +0100
commitd38e756feb33718ff252d65fccdf8e4c7fe8ab4a (patch)
tree11d866a98af3df14ad6bf0e67ccdf87dac3e5a22
parent8ba088516aa34505849ef0a8639687bec22c5750 (diff)
downloadsamba-d38e756feb33718ff252d65fccdf8e4c7fe8ab4a.tar.gz
samba-d38e756feb33718ff252d65fccdf8e4c7fe8ab4a.tar.bz2
samba-d38e756feb33718ff252d65fccdf8e4c7fe8ab4a.zip
Use BUILTIN\administrators as owner of the default registry key security descriptor.
Michael (This used to be commit 52e98157650d8dbc9b3ebb55f995ca543839543b)
-rw-r--r--source3/registry/reg_dispatcher.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/registry/reg_dispatcher.c b/source3/registry/reg_dispatcher.c
index e6e7613457..93b36f9289 100644
--- a/source3/registry/reg_dispatcher.c
+++ b/source3/registry/reg_dispatcher.c
@@ -63,7 +63,7 @@ static SEC_DESC* construct_registry_sd( TALLOC_CTX *ctx )
if ( !(acl = make_sec_acl(ctx, NT4_ACL_REVISION, i, ace)) )
return NULL;
- if ( !(sd = make_sec_desc(ctx, SEC_DESC_REVISION, SEC_DESC_SELF_RELATIVE, NULL, NULL, NULL, acl, &sd_size)) )
+ if ( !(sd = make_sec_desc(ctx, SEC_DESC_REVISION, SEC_DESC_SELF_RELATIVE, &global_sid_Builtin_Administrators, NULL, NULL, acl, &sd_size)) )
return NULL;
return sd;