summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-06-17 01:57:18 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:57:19 -0500
commit2102f6bff9641eeec3b593529be7bf8d9ec784d4 (patch)
tree2ecf1b3ba859c27a9ff324e0148c2cc21af169fb /source3/rpc_client
parentd9e12b4df7fb8081190910ae25e98d379acda13d (diff)
downloadsamba-2102f6bff9641eeec3b593529be7bf8d9ec784d4.tar.gz
samba-2102f6bff9641eeec3b593529be7bf8d9ec784d4.tar.bz2
samba-2102f6bff9641eeec3b593529be7bf8d9ec784d4.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() (This used to be commit 2f08a904eee772e7d99ae6e3e4c922f74732284f)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_reg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_client/cli_reg.c b/source3/rpc_client/cli_reg.c
index 9d7b909d0d..3f5b7652ac 100644
--- a/source3/rpc_client/cli_reg.c
+++ b/source3/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;
}