diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-12-07 13:30:23 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-12-21 05:48:45 +0100 |
commit | 949f3c726452a59555236f9fdda52e79c3e5832b (patch) | |
tree | 177f819912951d249aa0854a87fd986f2d7cce81 /source4/libnet | |
parent | 6c01f55e72b77090c6e1c0cd30c881951ce4fc4a (diff) | |
download | samba-949f3c726452a59555236f9fdda52e79c3e5832b.tar.gz samba-949f3c726452a59555236f9fdda52e79c3e5832b.tar.bz2 samba-949f3c726452a59555236f9fdda52e79c3e5832b.zip |
r26333: No more global_loadparm in finddcs.
(This used to be commit 0c91026e587ca74692bc9223a6b5493e35943aee)
Diffstat (limited to 'source4/libnet')
-rw-r--r-- | source4/libnet/libnet_lookup.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/libnet/libnet_lookup.c b/source4/libnet/libnet_lookup.c index 5788a56a88..fcb24601e4 100644 --- a/source4/libnet/libnet_lookup.c +++ b/source4/libnet/libnet_lookup.c @@ -194,7 +194,8 @@ 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, io->in.domain_name, io->in.name_type, + c = finddcs_send(mem_ctx, lp_netbios_name(ctx->lp_ctx), + io->in.domain_name, io->in.name_type, NULL, ctx->name_res_methods, ctx->event_ctx, msg_ctx); return c; } |