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:18:31 +0000 (10:18 +0000)
commit81a6c54fddc7b1d783d8c1c9a1b4607e5e055bff
treeb7532dedb7464830af5251d8a99f5f3b8b3255e6
parent31e4614ee3636eb5d835435dfe68379b0bee382e
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