summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-11-16 17:25:45 +0000
committerLuke Leighton <lkcl@samba.org>1999-11-16 17:25:45 +0000
commitb51fa05c820c4629b278dc294ad0a405ee470a6e (patch)
tree3371499173f754092bfa88fd153e4d2c65e618ff /source
parent3273bc068d0e0a8eefc92f9b21db47f239b76d21 (diff)
downloadsamba-b51fa05c820c4629b278dc294ad0a405ee470a6e.tar.gz
samba-b51fa05c820c4629b278dc294ad0a405ee470a6e.tar.xz
samba-b51fa05c820c4629b278dc294ad0a405ee470a6e.zip
added another dummy key so that NT5 can check in the registry whether
password changes are allowed or not. *dur*!!!!
Diffstat (limited to 'source')
-rw-r--r--source/rpc_server/srv_reg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/rpc_server/srv_reg.c b/source/rpc_server/srv_reg.c
index ea53f2ee2b4..0ba67749007 100644
--- a/source/rpc_server/srv_reg.c
+++ b/source/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;
}