ldap: Use netlogon_pings
commit8a88f322db435b34c5ea8a94aa9ac0a674e1d895
authorVolker Lendecke <vl@samba.org>
Fri, 25 Oct 2024 15:25:13 +0000 (25 17:25 +0200)
committerVolker Lendecke <vl@samba.org>
Mon, 11 Nov 2024 14:03:04 +0000 (11 14:03 +0000)
tree9eb93e11b1ed03f1441decff45ebe403548cc09a
parentdf2844ca8f1f9ef7a6e7e9e7485979a4ac93ff74
ldap: Use netlogon_pings

This already requests the flags that ads_fill_cldap_reply() will later
check for, so netlogon_pings will only feed sufficient DCs into
ads_fill_cldap_reply.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/libads/ldap.c