diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-12-07 02:37:13 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-12-21 05:48:41 +0100 |
commit | 6c77f353d3d952b46b401ab29837ba5b75e353c2 (patch) | |
tree | c78d6030280662a3a96b5a94c677f76fa47d2ed4 /source4/libnet/libnet_samsync_ldb.c | |
parent | 4c4323009fa83f00ed319de59a3aad48fcd65994 (diff) | |
download | samba-6c77f353d3d952b46b401ab29837ba5b75e353c2.tar.gz samba-6c77f353d3d952b46b401ab29837ba5b75e353c2.tar.bz2 samba-6c77f353d3d952b46b401ab29837ba5b75e353c2.zip |
r26328: remove more uses of global_loadparm.
(This used to be commit 40ae12c08647c47a9c504d39ee6f61c32b4e5748)
Diffstat (limited to 'source4/libnet/libnet_samsync_ldb.c')
-rw-r--r-- | source4/libnet/libnet_samsync_ldb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/libnet/libnet_samsync_ldb.c b/source4/libnet/libnet_samsync_ldb.c index ea6013391d..23cfe630d5 100644 --- a/source4/libnet/libnet_samsync_ldb.c +++ b/source4/libnet/libnet_samsync_ldb.c @@ -1193,7 +1193,7 @@ static NTSTATUS libnet_samsync_ldb_init(TALLOC_CTX *mem_ctx, ldap_url = talloc_asprintf(state, "ldap://%s", server); state->remote_ldb = ldb_wrap_connect(mem_ctx, - global_loadparm, + state->samsync_state->machine_net_ctx->lp_ctx, ldap_url, NULL, state->samsync_state->machine_net_ctx->cred, 0, NULL); @@ -1221,8 +1221,8 @@ NTSTATUS libnet_samsync_ldb(struct libnet_context *ctx, TALLOC_CTX *mem_ctx, str state->trusted_domains = NULL; state->sam_ldb = ldb_wrap_connect(mem_ctx, - global_loadparm, - lp_sam_url(global_loadparm), + ctx->lp_ctx, + lp_sam_url(ctx->lp_ctx), r->in.session_info, ctx->cred, 0, NULL); |