]> git.ipfire.org Git - thirdparty/samba.git/commit
libads: change netlogon_pings() behaviour wrt to min_servers parameter master
authorRalph Boehme <slow@samba.org>
Thu, 24 Jul 2025 10:59:30 +0000 (12:59 +0200)
committerGünther Deschner <gd@samba.org>
Wed, 13 Aug 2025 19:31:10 +0000 (19:31 +0000)
commit85dd55a5fef0049660126bdcd48abfa1c48da259
tree5e401809f72ba933584ff0f48132afd353b03c9b
parent6643d1fb3375903e2857e5bff33b39a4562c5a4d
libads: change netlogon_pings() behaviour wrt to min_servers parameter

Currently if a caller passes min_servers=X with X>1, netlogon_pings() will fail
if it can't contact X DCs. This is not really what we want. What we want is: we
want at least one DC, and up to X.

Change implemenentation in that sense and rename the min_servers argument to
wanted_servers to express this behaviour change.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15844

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
Autobuild-User(master): Günther Deschner <gd@samba.org>
Autobuild-Date(master): Wed Aug 13 19:31:10 UTC 2025 on atb-devel-224
source3/libads/cldap.c
source3/libads/kerberos.c
source3/libads/ldap.c
source3/libads/netlogon_ping.c
source3/libads/netlogon_ping.h
source3/libsmb/dsgetdcname.c
source4/libnet/libnet_site.c
source4/torture/rpc/lsa.c