summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-11-10 13:18:20 +0100
committerStefan Metzmacher <metze@samba.org>2011-11-10 14:59:10 +0100
commit88bcdbb16a42dcd21bb1584d7d7ffa00ac1957b8 (patch)
tree2dd1c43db35194c15031660ab51be2ee1a1d88b4
parent22ddbb50534aa73240a171732d4ac1fa884fa412 (diff)
downloadsamba-88bcdbb16a42dcd21bb1584d7d7ffa00ac1957b8.tar.gz
samba-88bcdbb16a42dcd21bb1584d7d7ffa00ac1957b8.tar.bz2
samba-88bcdbb16a42dcd21bb1584d7d7ffa00ac1957b8.zip
s4:finddcs_cldap: debug the correct server address instead of NULL
metze
-rw-r--r--source4/libcli/finddcs_cldap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/libcli/finddcs_cldap.c b/source4/libcli/finddcs_cldap.c
index 8199e37510..a0f538df7c 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);