summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2014-02-10 11:07:40 (GMT)
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2014-02-10 11:11:20 (GMT)
commit5ea191bb16e862304a255bd6d51f116b918cf4c2 (patch)
treeb596a34675f87dcf877f65d9114d1263aa4b60de
parent0cac630e64fa6b4c77578d3b57015eeabd2e0d7b (diff)
downloadkolab-wap-5ea191bb16e862304a255bd6d51f116b918cf4c2.tar.gz
Make sure the 'ou' attribute value does not make it back on to user entries
-rw-r--r--lib/Auth/LDAP.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Auth/LDAP.php b/lib/Auth/LDAP.php
index 0075166..d4b0fd9 100644
--- a/lib/Auth/LDAP.php
+++ b/lib/Auth/LDAP.php
@@ -936,6 +936,7 @@ class LDAP extends Net_LDAP3 {
if (!empty($attrs['ou'])) {
$base_dn = $attrs['ou'];
+ unset($attrs['ou']);
}
// TODO: The rdn is configurable as well.