summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/libcli/composite/connect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/composite/connect.c b/source4/libcli/composite/connect.c
index 84023f6e3b..b1d2eb2847 100644
--- a/source4/libcli/composite/connect.c
+++ b/source4/libcli/composite/connect.c
@@ -349,7 +349,7 @@ struct composite_context *smb_composite_connect_send(struct smb_composite_connec
make_nbt_name_server(&name, io->in.dest_host);
- state->creq = resolve_name_send(&name, c->event_ctx, NULL);
+ state->creq = resolve_name_send(&name, c->event_ctx, lp_name_resolve_order());
if (state->creq == NULL) goto failed;
state->creq->async.private = c;