mirror of
https://github.com/samba-team/samba.git
synced 2025-01-31 01:48:16 +03:00
The root key should be created as a root key, not subkey.
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
This commit is contained in:
parent
bc2098c459
commit
b3d2345bd1
@ -2007,7 +2007,7 @@ WERROR reg_create_regf_file(TALLOC_CTX *parent_ctx,
|
||||
regf->hbins[0] = NULL;
|
||||
|
||||
nk.header = "nk";
|
||||
nk.type = REG_SUB_KEY;
|
||||
nk.type = REG_ROOT_KEY;
|
||||
unix_to_nt_time(&nk.last_change, time(NULL));
|
||||
nk.uk1 = 0;
|
||||
nk.parent_offset = -1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user