winbindd: use reset_cm_connection_on_error() instead of dcerpc_binding_handle_is_conn...
authorRalph Boehme <slow@samba.org>
Mon, 12 Mar 2018 15:53:49 +0000 (16:53 +0100)
committerRalph Boehme <slow@samba.org>
Thu, 15 Mar 2018 14:46:10 +0000 (15:46 +0100)
commit6244a2beb184de8d050389e304f087ef153d61dd
tree84faf9fe5970681209db416fd471053cf05da57e
parent08718af36f3ed6cf2308beb3800abfb0414f94b9
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>
source3/winbindd/winbindd_dual_srv.c