summaryrefslogtreecommitdiffstats
path: root/lib/Auth
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-11-27 09:20:31 +0100
committerAleksander Machniak <alec@alec.pl>2013-11-27 09:20:31 +0100
commit00d43c3f2ef02f1c2188e5dd96cb255cac8268a1 (patch)
treeeeb4f06f02d0e7178ca2453f867548f5c82a2353 /lib/Auth
parentf6974039699a053af7197a1b5f0de91530d89efa (diff)
downloadwebadmin-00d43c3f2ef02f1c2188e5dd96cb255cac8268a1.tar.gz
Fix so exception is thrown on alias addresses validation when
one of validated addresses is a primary mail (Bug #2596)
Diffstat (limited to 'lib/Auth')
-rw-r--r--lib/Auth/LDAP.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Auth/LDAP.php b/lib/Auth/LDAP.php
index bf02ba1..7de9017 100644
--- a/lib/Auth/LDAP.php
+++ b/lib/Auth/LDAP.php
@@ -605,6 +605,8 @@ class LDAP extends Net_LDAP3 {
);
}
+ $this->config_set('return_attributes', $mail_attrs);
+
$result = $this->search_entries($this->config_get('root_dn'), '(objectclass=*)', 'sub', null, $search);
if ($result && $result->count() > 0) {