diff options
author | Luke Leighton <lkcl@samba.org> | 1999-11-16 17:25:45 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-11-16 17:25:45 +0000 |
commit | 82f1f32ff7a6d1c1db221aaeb265cbad5ff7c583 (patch) | |
tree | 882edf741e00a6f9a3f4816ecf4159e0142b6808 /source3/rpc_server | |
parent | 01e61554cab3ef00c7cbe41a9b7e6c985194b6d5 (diff) | |
download | samba-82f1f32ff7a6d1c1db221aaeb265cbad5ff7c583.tar.gz samba-82f1f32ff7a6d1c1db221aaeb265cbad5ff7c583.tar.bz2 samba-82f1f32ff7a6d1c1db221aaeb265cbad5ff7c583.zip |
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)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_reg.c | 3 |
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; } |