winbind: directly use dcerpc_binding_handle_is_connected() in reset_connection_on_err...
authorRalph Boehme <slow@samba.org>
Fri, 7 Aug 2020 10:07:28 +0000 (12:07 +0200)
committerStefan Metzmacher <metze@samba.org>
Sat, 8 Aug 2020 10:59:38 +0000 (10:59 +0000)
commitf50987df038846f0052d4c33bb534af9f2c79061
treef7ee2cbe85a3eb798053e762a2779c5796d07803
parent19ef9c40f14f91fcae6874d9f94540dd850e308b
winbind: directly use dcerpc_binding_handle_is_connected() in reset_connection_on_error() SAMR code

In the end we should avoid rpccli_is_connected(), rpccli_set_timeout() and the
whole rpc_pipe_client concept.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14457

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Ralph Boehme <slow@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Sat Aug  8 10:59:38 UTC 2020 on sn-devel-184
source3/winbindd/winbindd_samr.c