summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-09-25 04:52:15 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:30:58 -0500
commit2fcdaae84c5ef9c355333f4069be37287f2345ad (patch)
tree32b439a806f6e279f17b8c91b79a68416fcdd577
parentfb7ee0804c9d4e91a14c03651fc4907115d594e7 (diff)
downloadsamba-2fcdaae84c5ef9c355333f4069be37287f2345ad.tar.gz
samba-2fcdaae84c5ef9c355333f4069be37287f2345ad.tar.bz2
samba-2fcdaae84c5ef9c355333f4069be37287f2345ad.zip
r25313: dd HKEY_CURRENT_USER to rpccli_winreg_Connect().
Guenther (This used to be commit eb311cafbb446abf8e29faf6501cf5b82593a36f)
-rw-r--r--source3/rpc_client/cli_reg.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/rpc_client/cli_reg.c b/source3/rpc_client/cli_reg.c
index c811529e63..693d4dd5b5 100644
--- a/source3/rpc_client/cli_reg.c
+++ b/source3/rpc_client/cli_reg.c
@@ -45,6 +45,10 @@ NTSTATUS rpccli_winreg_Connect(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
return rpccli_winreg_OpenHKU( cli, mem_ctx, NULL,
access_mask, reg_hnd );
+ case HKEY_CURRENT_USER:
+ return rpccli_winreg_OpenHKCU( cli, mem_ctx, NULL,
+ access_mask, reg_hnd );
+
case HKEY_PERFORMANCE_DATA:
return rpccli_winreg_OpenHKPD( cli, mem_ctx, NULL,
access_mask, reg_hnd );