diff options
author | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2008-09-13 15:02:56 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-09-21 23:17:59 +0200 |
commit | 04f29b84a4bf2378d326b86a983792095231922e (patch) | |
tree | 65dbc7d6009dc2c30f4822a3590b261350806ea4 /source4/lib/registry/rpc.c | |
parent | 1e178ffc03456064bfd2ec330b9b6b6217c8561d (diff) | |
download | samba-04f29b84a4bf2378d326b86a983792095231922e.tar.gz samba-04f29b84a4bf2378d326b86a983792095231922e.tar.xz samba-04f29b84a4bf2378d326b86a983792095231922e.zip |
Registry client library: Fixes the creation of new keys
Giving the right permissions
Diffstat (limited to 'source4/lib/registry/rpc.c')
-rw-r--r-- | source4/lib/registry/rpc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/registry/rpc.c b/source4/lib/registry/rpc.c index 7469bb60d89..69da90128ea 100644 --- a/source4/lib/registry/rpc.c +++ b/source4/lib/registry/rpc.c @@ -348,7 +348,7 @@ static WERROR rpc_add_key(TALLOC_CTX *mem_ctx, chars_to_winreg_String(mem_ctx, &r.in.name, name); chars_to_winreg_String(mem_ctx, &r.in.keyclass, NULL); r.in.options = 0; - r.in.access_mask = SEC_STD_ALL; + r.in.access_mask = 0x02000000; r.in.secdesc = NULL; r.in.action_taken = NULL; r.out.new_handle = &rpck->pol; |