summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2015-06-17 12:54:52 +0200
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2015-06-17 12:54:52 +0200
commitbc42856017200d85a2cc3ce8d2c91cdb243f203a (patch)
tree43cb33cbcbabc8377a7f641ead10150f653c294c /lib
parentf9ee03fc12a6bbd937b2b4df3052d520af48b34a (diff)
downloadwebadmin-bc42856017200d85a2cc3ce8d2c91cdb243f203a.tar.gz
All a domain.add call to only have the domainrelatedobject be created
Diffstat (limited to 'lib')
-rw-r--r--lib/Auth/LDAP.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Auth/LDAP.php b/lib/Auth/LDAP.php
index 2e28c1e..bd7c3f9 100644
--- a/lib/Auth/LDAP.php
+++ b/lib/Auth/LDAP.php
@@ -202,6 +202,10 @@ class LDAP extends Net_LDAP3 {
return false;
}
+ if (!empty($attributes['domainrelatedobject_only'])) {
+ return true;
+ }
+
// Query the ACI for the primary domain
if ($domain_entry = $this->find_domain($primary_domain)) {
if (in_array('inetdomainbasedn', $domain_entry)) {