diff options
author | Wilco Baan Hofman <wilco@baanhofman.nl> | 2010-08-30 15:05:25 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2010-10-03 15:31:37 +0200 |
commit | b3d2345bd1b963f30d08067275b51bd7eaa9e1a9 (patch) | |
tree | 54cc65172fa5897940fc1e0d55419fef5a1185f0 /source4/lib/registry | |
parent | bc2098c45920087c49770892db1e50c76d71d8a4 (diff) | |
download | samba-b3d2345bd1b963f30d08067275b51bd7eaa9e1a9.tar.gz samba-b3d2345bd1b963f30d08067275b51bd7eaa9e1a9.tar.bz2 samba-b3d2345bd1b963f30d08067275b51bd7eaa9e1a9.zip |
The root key should be created as a root key, not subkey.
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Diffstat (limited to 'source4/lib/registry')
-rw-r--r-- | source4/lib/registry/regf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/registry/regf.c b/source4/lib/registry/regf.c index f377099ea1..58cc51c202 100644 --- a/source4/lib/registry/regf.c +++ b/source4/lib/registry/regf.c @@ -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; |