diff options
Diffstat (limited to 'source3/libads/ldap.c')
-rw-r--r-- | source3/libads/ldap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libads/ldap.c b/source3/libads/ldap.c index 10ac8fc334..f0f9d4c63a 100644 --- a/source3/libads/ldap.c +++ b/source3/libads/ldap.c @@ -710,7 +710,7 @@ got_connection: /* Otherwise setup the TCP LDAP session */ - ads->ldap.ld = ldap_open_with_timeout(ads->config.ldap_server_name, + ads->ldap.ld = ldap_open_with_timeout(addr, &ads->ldap.ss, ads->ldap.port, lp_ldap_timeout()); if (ads->ldap.ld == NULL) { |