From 6012f311159ddf0ee45dd954eb0808463e406356 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 15 Sep 2010 09:20:59 +1000 Subject: s4-finddcs: show required server type bits on failure when we skip a DC because it doesn't have the required server type bits, show what bits we wanted Pair-Programmed-With: Andrew Bartlett --- source4/libcli/finddcs_cldap.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'source4') diff --git a/source4/libcli/finddcs_cldap.c b/source4/libcli/finddcs_cldap.c index 949002bd51..ec3bc25fb1 100644 --- a/source4/libcli/finddcs_cldap.c +++ b/source4/libcli/finddcs_cldap.c @@ -222,9 +222,10 @@ static void finddcs_cldap_netlogon_replied(struct tevent_req *subreq) if (state->minimum_dc_flags != (state->minimum_dc_flags & state->netlogon->out.netlogon.data.nt5_ex.server_type)) { /* the server didn't match the minimum requirements */ - DEBUG(4,(__location__ ": Skipping DC %s with server_type=0x%08x\n", + DEBUG(4,(__location__ ": Skipping DC %s with server_type=0x%08x - required 0x%08x\n", state->srv_addresses[state->srv_address_index], - state->netlogon->out.netlogon.data.nt5_ex.server_type)); + state->netlogon->out.netlogon.data.nt5_ex.server_type, + state->minimum_dc_flags)); state->srv_address_index++; finddcs_cldap_next_server(state); return; -- cgit