summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2004-12-08 22:13:28 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:06:27 -0500
commit4b533a90705115410575943ba0cf7630925f7421 (patch)
tree0e7bec41fbf8918cad984788086a5801078ee088
parent2c93ec0ff04165b6ed5898f1dc3e9413cbe6bc81 (diff)
downloadsamba-4b533a90705115410575943ba0cf7630925f7421.tar.gz
samba-4b533a90705115410575943ba0cf7630925f7421.tar.bz2
samba-4b533a90705115410575943ba0cf7630925f7421.zip
r4106: Add full name of two more hives
(This used to be commit c1023db5e8336e495c06acae1773a28d7fc90658)
-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")