diff options
author | Tim Potter <tpot@samba.org> | 2005-10-22 08:00:09 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:45:09 -0500 |
commit | 9759d435ca014b192a79d7de2cd2eb0fb92745b9 (patch) | |
tree | 37f6a1730c1ace21e2742a3b0d2b5fbf1c70dfa6 /source4/lib/registry | |
parent | a1444159a9b6ff5d9c17f241d891682f9004cd69 (diff) | |
download | samba-9759d435ca014b192a79d7de2cd2eb0fb92745b9.tar.gz samba-9759d435ca014b192a79d7de2cd2eb0fb92745b9.tar.bz2 samba-9759d435ca014b192a79d7de2cd2eb0fb92745b9.zip |
r11261: Rename access_required field in winreg idl to access_mask so it matches
the other interfaces.
(This used to be commit 8eb582b5780188b6304c560b3e84fd7d75c483f8)
Diffstat (limited to 'source4/lib/registry')
-rw-r--r-- | source4/lib/registry/reg_backend_rpc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/registry/reg_backend_rpc.c b/source4/lib/registry/reg_backend_rpc.c index 1e9fff4d7c..81f002daa2 100644 --- a/source4/lib/registry/reg_backend_rpc.c +++ b/source4/lib/registry/reg_backend_rpc.c @@ -39,7 +39,7 @@ static void init_winreg_String(struct winreg_String *name, const char *s) NTSTATUS status; \ \ r.in.system_name = 0; \ - r.in.access_required = SEC_FLAG_MAXIMUM_ALLOWED; \ + r.in.access_mask = SEC_FLAG_MAXIMUM_ALLOWED; \ r.out.handle = hnd;\ \ status = dcerpc_winreg_Open ## u(p, mem_ctx, &r); \ @@ -253,7 +253,7 @@ static WERROR rpc_add_key(TALLOC_CTX *mem_ctx, const struct registry_key *parent r.in.handle = parent->backend_data; r.out.new_handle = talloc(mem_ctx, struct policy_handle); r.in.options = 0; - r.in.access_required = access_mask; + r.in.access_mask = access_mask; r.in.secdesc = NULL; status = dcerpc_winreg_CreateKey((struct dcerpc_pipe *)(parent->hive->backend_data), mem_ctx, &r); |