summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/rpc_server/srv_reg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_reg.c b/source3/rpc_server/srv_reg.c
index ea53f2ee2b..0ba6774900 100644
--- a/source3/rpc_server/srv_reg.c
+++ b/source3/rpc_server/srv_reg.c
@@ -142,7 +142,8 @@ static void reg_reply_open_entry(REG_Q_OPEN_ENTRY *q_u,
{
DEBUG(5,("reg_open_entry: %s\n", name));
/* lkcl XXXX do a check on the name, here */
- if (!strequal(name, "SYSTEM\\CurrentControlSet\\Control\\ProductOptions"))
+ if (!strequal(name, "SYSTEM\\CurrentControlSet\\Control\\ProductOptions") ||
+ !strequal(name, "SYSTEM\\CurrentControlSet\\Services\\NETLOGON\Parameters"))
{
status = 0xC000000 | NT_STATUS_ACCESS_DENIED;
}