From: Stefan Metzmacher Date: Wed, 18 Sep 2024 21:34:44 +0000 (+0200) Subject: s4:libnet: make use of dcerpc_binding_handle_get_transport() X-Git-Tag: samba-4.21.7~38 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ca22d004118df6ef30b38d4d5c0770c2ec07df5;p=thirdparty%2Fsamba.git s4:libnet: make use of dcerpc_binding_handle_get_transport() Signed-off-by: Stefan Metzmacher Reviewed-by: Ralph Boehme (cherry picked from commit a4b1845f4c5202afedd65b9d0db2866de75420a5) --- diff --git a/source4/libnet/libnet_rpc.c b/source4/libnet/libnet_rpc.c index 18805172092..3662a928e58 100644 --- a/source4/libnet/libnet_rpc.c +++ b/source4/libnet/libnet_rpc.c @@ -582,7 +582,8 @@ static void continue_dci_rpc_connect(struct composite_context *ctx) s->attr.sec_qos = &s->qos; - transport = dcerpc_binding_get_transport(s->lsa_pipe->binding); + transport = dcerpc_binding_handle_get_transport( + s->lsa_pipe->binding_handle); if (transport == NCACN_IP_TCP) { /* * Skip to creating the actual connection. We can't open a