diff options
author | Gerald Carter <jerry@samba.org> | 2005-06-17 01:57:18 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2005-06-17 01:57:18 +0000 |
commit | 90c1028e02be13c3782704763d20b54493e3f180 (patch) | |
tree | 7d84272586f306cbd3ff017be886a2b7b88ce23a /source/rpc_client | |
parent | d5c5020470270120c11467a03cb9800e416f407d (diff) | |
download | samba-90c1028e02be13c3782704763d20b54493e3f180.tar.gz samba-90c1028e02be13c3782704763d20b54493e3f180.tar.xz samba-90c1028e02be13c3782704763d20b54493e3f180.zip |
r7664: add access check hooks to _reg_open_entry which are passed off
to the reg_XXX backend. If the backend does not define
a regkey_access_check() function, we default to using the
standard registry_access_check()
Diffstat (limited to 'source/rpc_client')
-rw-r--r-- | source/rpc_client/cli_reg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/rpc_client/cli_reg.c b/source/rpc_client/cli_reg.c index 9d7b909d0de..3f5b7652ac7 100644 --- a/source/rpc_client/cli_reg.c +++ b/source/rpc_client/cli_reg.c @@ -621,7 +621,7 @@ WERROR cli_reg_open_entry(struct cli_state *cli, TALLOC_CTX *mem_ctx, if ( !W_ERROR_IS_OK( out.status ) ) return out.status; - memcpy( key_hnd, &out.pol, sizeof(POLICY_HND) ); + memcpy( key_hnd, &out.handle, sizeof(POLICY_HND) ); return out.status; } |