1
0
mirror of https://github.com/samba-team/samba.git synced 2025-10-29 04:23:51 +03:00

r23176: Note that we only return one DC from this call at the moment.

Andrew Bartlett
This commit is contained in:
Andrew Bartlett
2007-05-29 00:34:31 +00:00
committed by Gerald (Jerry) Carter
parent 222acbe33b
commit 4fee8a7b77

View File

@@ -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;