winbindd: call dcerpc_binding_handle_is_connected() from reset_cm_connection_on_error()
authorRalph Boehme <slow@samba.org>
Mon, 12 Mar 2018 15:11:37 +0000 (16:11 +0100)
committerRalph Boehme <slow@samba.org>
Thu, 15 Mar 2018 14:46:09 +0000 (15:46 +0100)
commit966ff3793a867a5ffe1a49e48c8ab3ecb02f8359
tree5170f755bd21b1f7937d1f4e337d736464c3b027
parent2d1f00cc3ad77bed4e810dc910979e6cdf582216
winbindd: call dcerpc_binding_handle_is_connected() from reset_cm_connection_on_error()

To consolidate the error handling for RPC calls, add the binding handle
as an additional argument to reset_cm_connection_on_error().

All callers pass NULL for now, so no change in behaviour up to here.

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
source3/winbindd/winbindd_proto.h
source3/winbindd/winbindd_reconnect.c