summaryrefslogtreecommitdiff
path: root/source3/registry
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2011-07-01 15:50:05 +0200
committerMichael Adam <obnox@samba.org>2011-07-04 20:02:08 +0200
commitfc4d79d41a18ed3c2a2f8a831e5dcc3002423ab1 (patch)
treeac593b85382518a992b3808f691f23f8a76b08e9 /source3/registry
parent322eaf1e9ef927bdec7fca947e894470196c1049 (diff)
downloadsamba-fc4d79d41a18ed3c2a2f8a831e5dcc3002423ab1.tar.gz
samba-fc4d79d41a18ed3c2a2f8a831e5dcc3002423ab1.tar.bz2
samba-fc4d79d41a18ed3c2a2f8a831e5dcc3002423ab1.zip
s3:registry: create the empty list of subkeys of the new key in regdb_create_subkey
Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
Diffstat (limited to 'source3/registry')
-rw-r--r--source3/registry/reg_backend_db.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/registry/reg_backend_db.c b/source3/registry/reg_backend_db.c
index 554114d6eb..34c25d8357 100644
--- a/source3/registry/reg_backend_db.c
+++ b/source3/registry/reg_backend_db.c
@@ -1130,6 +1130,8 @@ static NTSTATUS regdb_create_subkey_action(struct db_context *db,
win_errstr(werr)));
}
+ werr = regdb_store_subkey_list(db, create_ctx->key, create_ctx->subkey);
+
done:
talloc_free(mem_ctx);
return werror_to_ntstatus(werr);