diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-11-29 16:01:16 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-12-21 05:46:51 +0100 |
commit | 991ee1aff092187bcfdd0ee1d9eb15361f73d5f7 (patch) | |
tree | 791d32dde17b8d4612b8526d5d81ef81a681928b /source4/libnet | |
parent | 0e191fa26ab6f0f4119eccca0170e5ebd7f46382 (diff) | |
download | samba-991ee1aff092187bcfdd0ee1d9eb15361f73d5f7.tar.gz samba-991ee1aff092187bcfdd0ee1d9eb15361f73d5f7.tar.bz2 samba-991ee1aff092187bcfdd0ee1d9eb15361f73d5f7.zip |
r26205: Pass loadparm_context to secrets_db_connect() rather than using global context.
(This used to be commit 5718b6cfee86ddfc9cf405c98c68ba848df4d9d7)
Diffstat (limited to 'source4/libnet')
-rw-r--r-- | source4/libnet/libnet_join.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libnet/libnet_join.c b/source4/libnet/libnet_join.c index d80ff34d0f..25ad0ca440 100644 --- a/source4/libnet/libnet_join.c +++ b/source4/libnet/libnet_join.c @@ -909,7 +909,7 @@ static NTSTATUS libnet_Join_primary_domain(struct libnet_context *ctx, * Local secrets are stored in secrets.ldb * open it to make sure we can write the info into it after the join */ - ldb = secrets_db_connect(tmp_mem); + ldb = secrets_db_connect(tmp_mem, global_loadparm); if (!ldb) { r->out.error_string = talloc_asprintf(mem_ctx, |