summaryrefslogtreecommitdiff
path: root/source4/lib/registry/common
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2004-10-11 13:57:30 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:59:47 -0500
commitaed95ba66f29b9536e99027fab5327548b984b70 (patch)
tree70b13333b24c590b7da16837913e63de9f85a83d /source4/lib/registry/common
parentb33be588743fde1c95bd5a639585326c3e74cd85 (diff)
downloadsamba-aed95ba66f29b9536e99027fab5327548b984b70.tar.gz
samba-aed95ba66f29b9536e99027fab5327548b984b70.tar.bz2
samba-aed95ba66f29b9536e99027fab5327548b984b70.zip
r2913: - Don't print hive name if it is NULL (regtree)
- Initialise hive name (reg_interface) - Fix LDB backend (enumerating keys works now!) (This used to be commit 5086d6b2494f236ef67096b2dd4da4f7402a65c5)
Diffstat (limited to 'source4/lib/registry/common')
-rw-r--r--source4/lib/registry/common/reg_interface.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/lib/registry/common/reg_interface.c b/source4/lib/registry/common/reg_interface.c
index 28025e4d84..16edadfcbb 100644
--- a/source4/lib/registry/common/reg_interface.c
+++ b/source4/lib/registry/common/reg_interface.c
@@ -185,6 +185,7 @@ WERROR reg_import_hive(struct registry_context *h, const char *backend, const ch
ret->functions = entry->functions;
ret->backend_data = NULL;
ret->reg_ctx = h;
+ ret->name = NULL;
werr = entry->functions->open_hive(mem_ctx, ret, &ret->root);