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)
committerKarolin Seeger <kseeger@samba.org>
Mon, 7 May 2018 07:57:25 +0000 (09:57 +0200)
commit76a4df1eb5d5ab284c79573e769086e56648a451
tree0b9de648092d034c850ba557ca08782fe6ed01b0
parent30dd8bc6a345b700447dc2bcb538a1e6a87e6993
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>
(cherry picked from commit 966ff3793a867a5ffe1a49e48c8ab3ecb02f8359)
source3/winbindd/winbindd_dual_srv.c
source3/winbindd/winbindd_proto.h
source3/winbindd/winbindd_reconnect.c