s3:libads: add ads_set_reconnect_fn() and only reconnect if we can get creds
authorStefan Metzmacher <metze@samba.org>
Wed, 6 Mar 2024 09:13:11 +0000 (10:13 +0100)
committerStefan Metzmacher <metze@samba.org>
Tue, 14 May 2024 10:12:22 +0000 (12:12 +0200)
commite41a25735c6ce8053dba832eb428aa1bed0b9987
treeb7532dedb7464830af5251d8a99f5f3b8b3255e6
parentd99481d59470800d58d3d873a5bd7810e186c038
s3:libads: add ads_set_reconnect_fn() and only reconnect if we can get creds

This reconnect is only useful for long running connections (e.g. in winbindd)
and there we'll make use of it...

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/include/ads.h
source3/libads/ads_ldap_protos.h
source3/libads/ads_struct.c
source3/libads/ldap_utils.c
source3/librpc/idl/ads.idl