diff options
-rw-r--r-- | source3/rpc_client/cli_reg.c | 4 |
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 ); |