summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDaniel Hoffend <dh@dotlan.net>2019-11-26 09:22:47 +0100
committerJeroen van Meeuwen <kanarip@kanarip.ch>2019-11-26 09:22:47 +0100
commit4ad311ebb6c1d98dae302617a5a9c4dd66219179 (patch)
tree9ae6ea50e6341d9b22aafe8783e09a34808061c2 /lib
parentea2522021505627c7955b7cafe939799ef429086 (diff)
downloadwebadmin-4ad311ebb6c1d98dae302617a5a9c4dd66219179.tar.gz
Fixed T5653 and support domain_edit in hosted mode
Summary: This patch fixed the domain_edit api call in hosted mode. The Bug is described in T5653 Reviewers: #web_administration_panel_developers, vanmeeuwen Reviewed By: #web_administration_panel_developers, vanmeeuwen Subscribers: vanmeeuwen Tags: #web_administration_panel Differential Revision: https://git.kolab.org/D835
Diffstat (limited to 'lib')
-rw-r--r--lib/Auth/LDAP.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Auth/LDAP.php b/lib/Auth/LDAP.php
index 4bf2a8f..aac6df8 100644
--- a/lib/Auth/LDAP.php
+++ b/lib/Auth/LDAP.php
@@ -396,6 +396,11 @@ class LDAP extends Net_LDAP3 {
return false;
}
+ // remove invalid/hidden attributes
+ if (isset($attributes['domainrelatedobject_only'])) {
+ unset($attributes['domainrelatedobject_only']);
+ }
+
$domain_dn = key($domain);
// We should start throwing stuff over the fence here.