]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4:libnet: make use of dcerpc_binding_handle_get_transport()
authorStefan Metzmacher <metze@samba.org>
Wed, 18 Sep 2024 21:34:44 +0000 (23:34 +0200)
committerJule Anger <janger@samba.org>
Thu, 12 Jun 2025 11:27:15 +0000 (11:27 +0000)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit a4b1845f4c5202afedd65b9d0db2866de75420a5)

source4/libnet/libnet_rpc.c

index 18805172092be261dc1e2399d1bd63f8b4959043..3662a928e580e99407490c1cf559e7907e255a51 100644 (file)
@@ -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