summaryrefslogtreecommitdiff
path: root/source4/libnet
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-13 22:46:37 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:50:04 +0100
commit70ccac0f05067c89bbf1503a614d09e3fd429110 (patch)
tree4d9d7425b5ac34ddb70189707a12464f6fe98415 /source4/libnet
parent2bf0cdd01cf399bf28125f9e2a0d419f4e94996c (diff)
downloadsamba-70ccac0f05067c89bbf1503a614d09e3fd429110.tar.gz
samba-70ccac0f05067c89bbf1503a614d09e3fd429110.tar.bz2
samba-70ccac0f05067c89bbf1503a614d09e3fd429110.zip
r26435: Remove global_loadparm instance.
(This used to be commit 66fd8d480bdfeb1c95da8843da3d18abe3f997e1)
Diffstat (limited to 'source4/libnet')
-rw-r--r--source4/libnet/libnet_lookup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libnet/libnet_lookup.c b/source4/libnet/libnet_lookup.c
index b8c6609d8e..a7442eb32d 100644
--- a/source4/libnet/libnet_lookup.c
+++ b/source4/libnet/libnet_lookup.c
@@ -194,7 +194,7 @@ struct composite_context* libnet_LookupDCs_send(struct libnet_context *ctx,
struct messaging_context *msg_ctx =
messaging_client_init(mem_ctx, lp_messaging_path(mem_ctx, ctx->lp_ctx), ctx->event_ctx);
- c = finddcs_send(mem_ctx, lp_netbios_name(ctx->lp_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);
return c;