summaryrefslogtreecommitdiff
path: root/source4/libnet
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-02-28 21:02:49 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-02-28 21:02:49 +0100
commit7e045915205264efdd96d7e55a9e342c2748c93e (patch)
treec7a3de56dea258a2cc763d0c118a162a44c483a2 /source4/libnet
parent2946a11dc7d367128d8c002966ac19e3e36450dd (diff)
downloadsamba-7e045915205264efdd96d7e55a9e342c2748c93e.tar.gz
samba-7e045915205264efdd96d7e55a9e342c2748c93e.tar.bz2
samba-7e045915205264efdd96d7e55a9e342c2748c93e.zip
Remove use of global_loadparm.
(This used to be commit 3cf3922c806d0e33439073d204b44bf0af3102d5)
Diffstat (limited to 'source4/libnet')
-rw-r--r--source4/libnet/libnet_lookup.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/libnet/libnet_lookup.c b/source4/libnet/libnet_lookup.c
index 409cc7575b..cab4d9e73f 100644
--- a/source4/libnet/libnet_lookup.c
+++ b/source4/libnet/libnet_lookup.c
@@ -197,7 +197,8 @@ struct composite_context* libnet_LookupDCs_send(struct libnet_context *ctx,
c = finddcs_send(mem_ctx, lp_netbios_name(ctx->lp_ctx), lp_nbt_port(ctx->lp_ctx),
io->in.domain_name, io->in.name_type,
- NULL, ctx->resolve_ctx, ctx->event_ctx, msg_ctx);
+ NULL, lp_iconv_convenience(ctx->lp_ctx),
+ ctx->resolve_ctx, ctx->event_ctx, msg_ctx);
return c;
}