summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-09-04 13:52:11 (GMT)
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-09-04 13:52:11 (GMT)
commit62fdffda5e9802bc6a33f5be36931f334a2583a1 (patch)
treed936162d0c79cc8c39de188e31d4d7bd6b3bf3c4 /lib
parentbf032097230599ee842d3e7ca85ccd20a9c9d160 (diff)
downloadNet_LDAP3-62fdffda5e9802bc6a33f5be36931f334a2583a1.tar.gz
Correct the default login filter used
Diffstat (limited to 'lib')
-rw-r--r--lib/Net/LDAP3.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Net/LDAP3.php b/lib/Net/LDAP3.php
index d1714de..a69e283 100644
--- a/lib/Net/LDAP3.php
+++ b/lib/Net/LDAP3.php
@@ -814,7 +814,7 @@ class Net_LDAP3
$filter = $this->config_get("filter", NULL);
}
if (empty($filter)) {
- $filter = "(&(|(mail=%s)(alias=%s)(uid=%s))(objectclass=inetorgperson))";
+ $filter = "(&(|(mail=%s)(mail=%U@%d)(alias=%s)(alias=%U@%d)(uid=%s))(objectclass=inetorgperson))";
}
$this->_debug("Net::LDAP3::login() original filter: " . $filter);