summaryrefslogtreecommitdiff
path: root/source4/lib/registry/ldb.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-17 23:16:16 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:51:25 +0100
commit12a513b47b1a1f2adeb2cb2a10ac36d02dd44065 (patch)
treeffd350db11a507777686060b8288b038670f0768 /source4/lib/registry/ldb.c
parent57b8a8fd42f5d89f439fd9d0781bd8f561a84131 (diff)
downloadsamba-12a513b47b1a1f2adeb2cb2a10ac36d02dd44065.tar.gz
samba-12a513b47b1a1f2adeb2cb2a10ac36d02dd44065.tar.bz2
samba-12a513b47b1a1f2adeb2cb2a10ac36d02dd44065.zip
r26518: Fix provision of registry using Python.
(This used to be commit 12eb38e553993b2726a803af4ae9c05229d6ebe4)
Diffstat (limited to 'source4/lib/registry/ldb.c')
-rw-r--r--source4/lib/registry/ldb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/registry/ldb.c b/source4/lib/registry/ldb.c
index 78acc3150b..c9697ddb4c 100644
--- a/source4/lib/registry/ldb.c
+++ b/source4/lib/registry/ldb.c
@@ -346,7 +346,7 @@ WERROR reg_open_ldb_file(TALLOC_CTX *parent_ctx, const char *location,
if (location == NULL)
return WERR_INVALID_PARAM;
- wrap = ldb_wrap_connect(parent_ctx, global_loadparm,
+ wrap = ldb_wrap_connect(parent_ctx, lp_ctx,
location, session_info, credentials, 0, NULL);
if (wrap == NULL) {