Commit 0a0d0f66 authored by Committed by Alexey Nikitin
Make 'adcli info' DC location mechanism more compliant with [MS-ADTS] and [MS-NRPC]
AD specifications say that DC locator must attempt to find a suitable DC for the client. That means going through all of the DCs in SRV RRs one by one until one of them answers. The problem with adcli's original behavior is that it queries only five DCs from SRV, ever. This becomes a problem if for any reason there is a large number of DCs in the domain from which the client cannot get a CLDAP response.
Showing with 94 additions and 52 deletions