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:07:40 (GMT)
commit0e555b99c509d1e98924b6b9ae2a3623bf30330f (patch)
tree6b0d5cc78215f06162681e2fda4de8bcca492695
parentf5b27756f8a2dbc49e027ade438967c7edd262a2 (diff)
downloadkolab-wap-0e555b99c509d1e98924b6b9ae2a3623bf30330f.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 a2e951f..a4991be 100644
--- a/lib/Auth/LDAP.php
+++ b/lib/Auth/LDAP.php
@@ -882,6 +882,7 @@ class LDAP extends Net_LDAP3 {
if (!empty($attrs['ou'])) {
$base_dn = $attrs['ou'];
+ unset($attrs['ou']);
}
// TODO: The rdn is configurable as well.