svn commit: samba r23176 - in branches/SAMBA_4_0/source/libcli: .
abartlet at samba.org
abartlet at samba.org
Tue May 29 00:34:32 GMT 2007
Author: abartlet
Date: 2007-05-29 00:34:31 +0000 (Tue, 29 May 2007)
New Revision: 23176
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=23176
Log:
Note that we only return one DC from this call at the moment.
Andrew Bartlett
Modified:
branches/SAMBA_4_0/source/libcli/finddcs.c
Changeset:
Modified: branches/SAMBA_4_0/source/libcli/finddcs.c
===================================================================
--- branches/SAMBA_4_0/source/libcli/finddcs.c 2007-05-28 21:04:59 UTC (rev 23175)
+++ branches/SAMBA_4_0/source/libcli/finddcs.c 2007-05-29 00:34:31 UTC (rev 23176)
@@ -118,6 +118,9 @@
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;
More information about the samba-cvs
mailing list