diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-12-14 00:27:31 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-12-21 05:50:11 +0100 |
commit | 96a200511e884a88dcf48fa5b313b2cddb2df566 (patch) | |
tree | da89d150a2b706d096461d33b07674b25354634f /source4/lib/registry/samba.c | |
parent | 2331f4e9a56baa00ab4f250d10416a072320b539 (diff) | |
download | samba-96a200511e884a88dcf48fa5b313b2cddb2df566.tar.gz samba-96a200511e884a88dcf48fa5b313b2cddb2df566.tar.bz2 samba-96a200511e884a88dcf48fa5b313b2cddb2df566.zip |
r26443: Remove global_loadparm instances.
(This used to be commit 8242c696235d1bfb402b5c276a57f36d93610545)
Diffstat (limited to 'source4/lib/registry/samba.c')
-rw-r--r-- | source4/lib/registry/samba.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/registry/samba.c b/source4/lib/registry/samba.c index a5a60ba610..02f3363bab 100644 --- a/source4/lib/registry/samba.c +++ b/source4/lib/registry/samba.c @@ -40,11 +40,11 @@ static WERROR mount_samba_hive(struct registry_context *ctx, lp_private_dir(lp_ctx), name); - error = reg_open_hive(ctx, location, auth_info, creds, &hive); + error = reg_open_hive(ctx, location, auth_info, creds, lp_ctx, &hive); if (W_ERROR_EQUAL(error, WERR_NOT_FOUND)) error = reg_open_ldb_file(ctx, location, auth_info, - creds, &hive); + creds, lp_ctx, &hive); if (!W_ERROR_IS_OK(error)) return error; |