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
NTSTATUS status)
{
struct winbind_internal_pipes *internal_pipes = NULL;
+ struct dcerpc_binding_handle *b = p->binding_handle;
internal_pipes = talloc_get_type_abort(
domain->private_data, struct winbind_internal_pipes);
return true;
}
- if (!rpccli_is_connected(p)) {
+ if (!dcerpc_binding_handle_is_connected(b)) {
TALLOC_FREE(internal_pipes);
domain->private_data = NULL;
return true;