mirror of
https://github.com/samba-team/samba.git
synced 2025-07-23 20:59:10 +03:00
r6014: rather large change set....
pulling back all recent rpc changes from trunk into
3.0. I've tested a compile and so don't think I've missed
any files. But if so, just mail me and I'll clean backup
in a couple of hours.
Changes include \winreg, \eventlog, \svcctl, and
general parse_misc.c updates.
I am planning on bracketing the event code with an
#ifdef ENABLE_EVENTLOG until I finish merging Marcin's
changes (very soon).
(This used to be commit 4e0ac63c36
)
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
920745f0df
commit
5d1cb8e79e
@ -2172,8 +2172,12 @@ BOOL reg_split_key(const char *full_keyname, uint32 *reg_type, char *key_name)
|
||||
|
||||
if (strequal(tmp, "HKLM") || strequal(tmp, "HKEY_LOCAL_MACHINE"))
|
||||
(*reg_type) = HKEY_LOCAL_MACHINE;
|
||||
else if (strequal(tmp, "HKCR") || strequal(tmp, "HKEY_CLASSES_ROOT"))
|
||||
(*reg_type) = HKEY_CLASSES_ROOT;
|
||||
else if (strequal(tmp, "HKU") || strequal(tmp, "HKEY_USERS"))
|
||||
(*reg_type) = HKEY_USERS;
|
||||
else if (strequal(tmp, "HKPD")||strequal(tmp, "HKEY_PERFORMANCE_DATA"))
|
||||
(*reg_type) = HKEY_PERFORMANCE_DATA;
|
||||
else {
|
||||
DEBUG(10,("reg_split_key: unrecognised hive key %s\n", tmp));
|
||||
return False;
|
||||
|
Reference in New Issue
Block a user