]> git.ipfire.org Git - thirdparty/samba.git/commit
libads: Add netlogon_pings()
authorVolker Lendecke <vl@samba.org>
Thu, 24 Oct 2024 11:55:35 +0000 (13:55 +0200)
committerVolker Lendecke <vl@samba.org>
Mon, 11 Nov 2024 14:03:04 +0000 (14:03 +0000)
commitcf66ff3d1b0cd0e6dbc8091ba0f184c336ef6126
tree3f45d7ee6c2a5d689f23ca1fb99123966280fcb2
parente88db0a6b519518febed4b4876acbc256dda23e8
libads: Add netlogon_pings()

This encapsulates our logic that we send CLDAP requests on UDP/389,
sending them with 100msec timeouts until someone replies. It also
contains the code to do this over LDAP/389 or LDAPS/636.

It also contains code to filter for domain controller flags like
DS_ONLY_LDAP_NEEDED, this logic exists in several places right now.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/libads/netlogon_ping.c [new file with mode: 0644]
source3/libads/netlogon_ping.h [new file with mode: 0644]
source3/wscript_build