summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2014-10-14 10:18:33 (GMT)
committerThomas Bruederli <thomas@roundcube.net>2014-10-14 10:18:33 (GMT)
commitee60f50af2c4d27cec8d6c4253981f583236b5ff (patch)
tree08d6e0253a2111e80014c4e529acb63dce9e37d3
parent14269316c5a7b1ab1ec34da52bfe3565c4dfaf94 (diff)
downloadNet_LDAP3-ee60f50af2c4d27cec8d6c4253981f583236b5ff.tar.gz
Use the right properties for /mozldap/ldapsearch calls
-rw-r--r--lib/Net/LDAP3.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Net/LDAP3.php b/lib/Net/LDAP3.php
index 82bc055..d370a45 100644
--- a/lib/Net/LDAP3.php
+++ b/lib/Net/LDAP3.php
@@ -723,9 +723,9 @@ class Net_LDAP3
$moz_ldapsearch,
'-x',
'-h',
- $this->_ldap_server,
+ $this->_current_host,
'-p',
- $this->_ldap_port,
+ $this->config_get('port', 389),
'-b',
escapeshellarg($entry_dn),
'-s',