winbindd: add and use ldap_reconnect_need_retry() in winbindd_reconnect_ads.c
authorRalph Boehme <slow@samba.org>
Mon, 12 Mar 2018 12:30:01 +0000 (13:30 +0100)
committerRalph Boehme <slow@samba.org>
Thu, 15 Mar 2018 14:46:09 +0000 (15:46 +0100)
commita8d5e4d36768bc199c631626488b2d0acbd6e91a
treebc2c5e3fed9e9460b804b61b43d95cfd207f5eec
parent4b7a9d560a51b51ac88f30276c87edc097b00d0b
winbindd: add and use ldap_reconnect_need_retry() in winbindd_reconnect_ads.c

ldap_reconnect_need_retry() is a copy of reconnect_need_retry() minus
the RPC connection invalidation.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=13332

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source3/winbindd/winbindd_reconnect_ads.c