From: Stefan Metzmacher Date: Thu, 10 Nov 2011 12:18:20 +0000 (+0100) Subject: s4:finddcs_cldap: debug the correct server address instead of NULL X-Git-Tag: ldb-1.1.4~386 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=88bcdbb16a42dcd21bb1584d7d7ffa00ac1957b8;p=thirdparty%2Fsamba.git s4:finddcs_cldap: debug the correct server address instead of NULL metze --- diff --git a/source4/libcli/finddcs_cldap.c b/source4/libcli/finddcs_cldap.c index 8199e375109..a0f538df7c7 100644 --- a/source4/libcli/finddcs_cldap.c +++ b/source4/libcli/finddcs_cldap.c @@ -249,7 +249,8 @@ static void finddcs_cldap_next_server(struct finddcs_cldap_state *state) NETLOGON_NT_VERSION_IP; state->netlogon->in.map_response = true; - DEBUG(4,("finddcs: performing CLDAP query on %s\n", state->netlogon->in.dest_address)); + DEBUG(4,("finddcs: performing CLDAP query on %s\n", + state->srv_addresses[state->srv_address_index])); subreq = cldap_netlogon_send(state, state->ev, state->cldap, state->netlogon);