diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-09-15 09:20:59 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-09-15 15:39:36 +1000 |
commit | 6012f311159ddf0ee45dd954eb0808463e406356 (patch) | |
tree | dfaa11e8bfe10e78c6211937164730024c6f6bf1 /source4/libcli | |
parent | 6c45eeb94430d9312c28e6f28da3c9d1db8156cc (diff) | |
download | samba-6012f311159ddf0ee45dd954eb0808463e406356.tar.gz samba-6012f311159ddf0ee45dd954eb0808463e406356.tar.bz2 samba-6012f311159ddf0ee45dd954eb0808463e406356.zip |
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 <abartlet@samba.org>
Diffstat (limited to 'source4/libcli')
-rw-r--r-- | source4/libcli/finddcs_cldap.c | 5 |
1 files changed, 3 insertions, 2 deletions
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; |