summaryrefslogtreecommitdiff
path: root/source4/librpc
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-07 16:04:17 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:48:46 +0100
commit01d2acfdb4c4c0349a28a18c5c0da5b960b02791 (patch)
tree7a8ae7ae55fa531212d67275f8ebfb8e9c74a205 /source4/librpc
parent0b4fab2f6047f03221314f82229647d6662464e0 (diff)
downloadsamba-01d2acfdb4c4c0349a28a18c5c0da5b960b02791.tar.gz
samba-01d2acfdb4c4c0349a28a18c5c0da5b960b02791.tar.bz2
samba-01d2acfdb4c4c0349a28a18c5c0da5b960b02791.zip
r26335: Specify name_resolve_order to socket code.
(This used to be commit b03e5d00110be3f1fe5809dad4eb6ca5cea7463d)
Diffstat (limited to 'source4/librpc')
-rw-r--r--source4/librpc/rpc/dcerpc_sock.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/librpc/rpc/dcerpc_sock.c b/source4/librpc/rpc/dcerpc_sock.c
index 8717a13467..327b1bf419 100644
--- a/source4/librpc/rpc/dcerpc_sock.c
+++ b/source4/librpc/rpc/dcerpc_sock.c
@@ -332,7 +332,8 @@ static struct composite_context *dcerpc_pipe_open_socket_send(TALLOC_CTX *mem_ct
talloc_steal(s->sock, s->socket_ctx);
- conn_req = socket_connect_send(s->socket_ctx, NULL, s->server, 0, c->event_ctx);
+ conn_req = socket_connect_send(s->socket_ctx, NULL, s->server, 0, lp_name_resolve_order(global_loadparm),
+ c->event_ctx);
composite_continue(c, conn_req, continue_socket_connect, c);
return c;
}