summaryrefslogtreecommitdiff
path: root/source4/libnet/libnet_lookup.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-09-23 19:50:00 -0700
committerAndrew Tridgell <tridge@samba.org>2010-09-25 10:38:45 -0700
commit805d9425c2ee06e1695e451500d1ffbf90ca8e72 (patch)
tree3bcdb29be6f57fd2cc0b54a9744d00b8c793d683 /source4/libnet/libnet_lookup.c
parenta360428588467c29e8eb40b27a9db525d4c2ea96 (diff)
downloadsamba-805d9425c2ee06e1695e451500d1ffbf90ca8e72.tar.gz
samba-805d9425c2ee06e1695e451500d1ffbf90ca8e72.tar.bz2
samba-805d9425c2ee06e1695e451500d1ffbf90ca8e72.zip
s4-libnet: added server_address option in libnet context
this is used by libnet_LookupDCs Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source4/libnet/libnet_lookup.c')
-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 6b8ab6edd4..66750706d8 100644
--- a/source4/libnet/libnet_lookup.c
+++ b/source4/libnet/libnet_lookup.c
@@ -197,7 +197,7 @@ struct tevent_req *libnet_LookupDCs_send(struct libnet_context *ctx,
ZERO_STRUCT(finddcs_io);
finddcs_io.in.domain_name = io->in.domain_name;
finddcs_io.in.minimum_dc_flags = NBT_SERVER_LDAP | NBT_SERVER_DS | NBT_SERVER_WRITABLE;
-
+ finddcs_io.in.server_address = ctx->server_address;
req = finddcs_cldap_send(mem_ctx, &finddcs_io, ctx->resolve_ctx, ctx->event_ctx);
return req;