1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-07 17:18:11 +03:00

check for exactly _one_ key: for USRMGR.EXE.

(This used to be commit 478d9ddfcf)
This commit is contained in:
Luke Leighton 1999-03-12 05:46:10 +00:00
parent 6a4239c8b0
commit 0aaf5a368c

View File

@ -142,6 +142,10 @@ 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"))
{
status = 0xC000000 | NT_STATUS_ACCESS_DENIED;
}
}
if (status == 0x0 && !set_lsa_policy_reg_name(&pol, name))