diff options
Diffstat (limited to 'source4/libcli')
-rw-r--r-- | source4/libcli/finddcs_cldap.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/libcli/finddcs_cldap.c b/source4/libcli/finddcs_cldap.c index 4c21f00f83..bbb221cfee 100644 --- a/source4/libcli/finddcs_cldap.c +++ b/source4/libcli/finddcs_cldap.c @@ -325,6 +325,7 @@ static void finddcs_cldap_srv_resolved(struct composite_context *ctx) struct finddcs_cldap_state *state = talloc_get_type(ctx->async.private_data, struct finddcs_cldap_state); NTSTATUS status; + unsigned i; status = resolve_name_multiple_recv(ctx, state, &state->srv_addresses); if (tevent_req_nterror(state->req, status)) { @@ -332,6 +333,10 @@ static void finddcs_cldap_srv_resolved(struct composite_context *ctx) return; } + for (i=0; state->srv_addresses[i]; i++) { + DEBUG(4,("finddcs: DNS server %u at '%s'\n", i, state->srv_addresses[i])); + } + state->srv_address_index = 0; status = cldap_socket_init(state, state->ev, NULL, NULL, &state->cldap); |