summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/lib/registry/reg_backend_rpc/reg_backend_rpc.c4
-rw-r--r--source4/rpc_server/winreg/rpc_winreg.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/source4/lib/registry/reg_backend_rpc/reg_backend_rpc.c b/source4/lib/registry/reg_backend_rpc/reg_backend_rpc.c
index 1a7cb38af5..fae5d3f14e 100644
--- a/source4/lib/registry/reg_backend_rpc/reg_backend_rpc.c
+++ b/source4/lib/registry/reg_backend_rpc/reg_backend_rpc.c
@@ -64,6 +64,8 @@ openhive(HKCU)
openhive(HKPD)
openhive(HKU)
openhive(HKCR)
+openhive(HKDD)
+openhive(HKCC)
struct rpc_key_data {
struct policy_handle pol;
@@ -82,6 +84,8 @@ struct {
{ "HKEY_CLASSES_ROOT", open_HKCR },
{ "HKEY_PERFORMANCE_DATA", open_HKPD },
{ "HKEY_USERS", open_HKU },
+{ "HKEY_DYN_DATA", open_HKDD },
+{ "HKEY_CURRENT_CONFIG", open_HKCC },
{ NULL, NULL }
};
diff --git a/source4/rpc_server/winreg/rpc_winreg.c b/source4/rpc_server/winreg/rpc_winreg.c
index 4dd56e894e..50b529e450 100644
--- a/source4/rpc_server/winreg/rpc_winreg.c
+++ b/source4/rpc_server/winreg/rpc_winreg.c
@@ -74,8 +74,8 @@ func_winreg_OpenHive(HKCU,"HKEY_CURRENT_USER")
func_winreg_OpenHive(HKLM,"HKEY_LOCAL_MACHINE")
func_winreg_OpenHive(HKPD,"HKEY_PERFORMANCE_DATA")
func_winreg_OpenHive(HKU,"HKEY_USERS")
-func_winreg_OpenHive(HKCC,"HKEY_CC")
-func_winreg_OpenHive(HKDD,"HKEY_DD")
+func_winreg_OpenHive(HKCC,"HKEY_CURRENT_CONFIG")
+func_winreg_OpenHive(HKDD,"HKEY_DYN_DATA")
func_winreg_OpenHive(HKPT,"HKEY_PT")
func_winreg_OpenHive(HKPN,"HKEY_PN")