diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-12-07 16:04:17 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-12-21 05:48:46 +0100 |
commit | 01d2acfdb4c4c0349a28a18c5c0da5b960b02791 (patch) | |
tree | 7a8ae7ae55fa531212d67275f8ebfb8e9c74a205 /source4/libcli/ldap | |
parent | 0b4fab2f6047f03221314f82229647d6662464e0 (diff) | |
download | samba-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/libcli/ldap')
-rw-r--r-- | source4/libcli/ldap/ldap_client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/libcli/ldap/ldap_client.c b/source4/libcli/ldap/ldap_client.c index 2fe0c78555..c859b4a4d1 100644 --- a/source4/libcli/ldap/ldap_client.c +++ b/source4/libcli/ldap/ldap_client.c @@ -352,7 +352,7 @@ struct composite_context *ldap_connect_send(struct ldap_connection *conn, } ctx = socket_connect_send(conn->sock, NULL, unix_addr, - 0, conn->event.event_ctx); + 0, lp_name_resolve_order(global_loadparm), conn->event.event_ctx); ctx->async.fn = ldap_connect_recv_unix_conn; ctx->async.private_data = state; return result; @@ -365,7 +365,7 @@ struct composite_context *ldap_connect_send(struct ldap_connection *conn, } ctx = socket_connect_multi_send(state, conn->host, 1, &conn->port, - conn->event.event_ctx); + lp_name_resolve_order(global_loadparm), conn->event.event_ctx); if (ctx == NULL) goto failed; ctx->async.fn = ldap_connect_recv_tcp_conn; |