diff options
author | Andrew Bartlett <abartlet@samba.org> | 2007-05-29 00:34:31 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:52:59 -0500 |
commit | b8b580dbcb0468306b89e0a37589700dee6ca7b8 (patch) | |
tree | 2a76bf95bc2a01d3513e8aa7a25d24646485fb87 /source4/libcli | |
parent | dc919c25343211b25ed8c55577bc5451791cbde4 (diff) | |
download | samba-b8b580dbcb0468306b89e0a37589700dee6ca7b8.tar.gz samba-b8b580dbcb0468306b89e0a37589700dee6ca7b8.tar.xz samba-b8b580dbcb0468306b89e0a37589700dee6ca7b8.zip |
r23176: Note that we only return one DC from this call at the moment.
Andrew Bartlett
(This used to be commit 4fee8a7b77d01c7cb8b32911016158f2ff2cf8f6)
Diffstat (limited to 'source4/libcli')
-rw-r--r-- | source4/libcli/finddcs.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/libcli/finddcs.c b/source4/libcli/finddcs.c index 09967c72b1..0f639b084f 100644 --- a/source4/libcli/finddcs.c +++ b/source4/libcli/finddcs.c @@ -118,6 +118,9 @@ static void finddcs_name_resolved(struct composite_context *ctx) state->ctx->status = resolve_name_recv(ctx, state, &address); if (!composite_is_ok(state->ctx)) return; + /* TODO: This should try and find all the DCs, and give the + * caller them in the order they responded */ + state->num_dcs = 1; state->dcs = talloc_array(state, struct nbt_dc_name, state->num_dcs); if (composite_nomem(state->dcs, state->ctx)) return; |