From 82f1f32ff7a6d1c1db221aaeb265cbad5ff7c583 Mon Sep 17 00:00:00 2001 From: Luke Leighton Date: Tue, 16 Nov 1999 17:25:45 +0000 Subject: added another dummy key so that NT5 can check in the registry whether password changes are allowed or not. *dur*!!!! (This used to be commit b51fa05c820c4629b278dc294ad0a405ee470a6e) --- source3/rpc_server/srv_reg.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- cgit