summaryrefslogtreecommitdiff
path: root/source4/librpc/rpc/dcerpc_secondary.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/librpc/rpc/dcerpc_secondary.c')
-rw-r--r--source4/librpc/rpc/dcerpc_secondary.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/librpc/rpc/dcerpc_secondary.c b/source4/librpc/rpc/dcerpc_secondary.c
index 1c4de0a2f2..0aa38d55ed 100644
--- a/source4/librpc/rpc/dcerpc_secondary.c
+++ b/source4/librpc/rpc/dcerpc_secondary.c
@@ -92,7 +92,8 @@ struct composite_context* dcerpc_secondary_connection_send(struct dcerpc_pipe *p
pipe_tcp_req = dcerpc_pipe_open_tcp_send(s->pipe2->conn,
s->binding->host,
s->binding->target_hostname,
- atoi(s->binding->endpoint));
+ atoi(s->binding->endpoint),
+ lp_name_resolve_order(global_loadparm));
composite_continue(c, pipe_tcp_req, continue_open_tcp, c);
return c;