winbindd: use reset_cm_connection_on_error() instead of dcerpc_binding_handle_is_conn...
commit6e1018e5887031a011d34cb2817c6818fbd7036c
authorRalph Boehme <slow@samba.org>
Mon, 12 Mar 2018 15:53:49 +0000 (12 16:53 +0100)
committerKarolin Seeger <kseeger@samba.org>
Fri, 20 Apr 2018 09:56:22 +0000 (20 11:56 +0200)
tree8a646a60ddafd8408c2b04a2ed916304cae76bc0
parent5bf61b01164afec5678818cdfd5e1980ddc37acc
winbindd: use reset_cm_connection_on_error() instead of dcerpc_binding_handle_is_connected()

This catches more errors and triggers retry as appropriate.

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>
(cherry picked from commit 6244a2beb184de8d050389e304f087ef153d61dd)
source3/winbindd/winbindd_dual_srv.c