1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-03 01:18:10 +03:00

s4:libnet: make use of dcerpc_binding_handle_get_transport()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
Stefan Metzmacher 2024-09-18 23:34:44 +02:00 committed by Ralph Boehme
parent ad20c6656a
commit a4b1845f4c

View File

@ -582,7 +582,8 @@ static void continue_dci_rpc_connect(struct composite_context *ctx)
s->attr.sec_qos = &s->qos; 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) { if (transport == NCACN_IP_TCP) {
/* /*
* Skip to creating the actual connection. We can't open a * Skip to creating the actual connection. We can't open a