summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.