summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib/configuration.php
diff options
context:
space:
mode:
authorAlex Weirig <alex.weirig@technolink.lu>2016-01-14 13:26:40 +0100
committerArthur Schiwon <blizzz@owncloud.com>2016-02-03 21:50:27 +0100
commit0d797637f3c87fc5c1100f23cd50322adb5b4e34 (patch)
treee83bf53def9fcd65381628798e912e4e13463d01 /apps/user_ldap/lib/configuration.php
parentda0462015507053c4424f62c32a4a182301fae22 (diff)
downloadnextcloud-server-0d797637f3c87fc5c1100f23cd50322adb5b4e34.tar.gz
nextcloud-server-0d797637f3c87fc5c1100f23cd50322adb5b4e34.zip
code changes for user_ldap Dynamic Group Membership
Added new setting of “Dynamic Group Member URL” (ldapDynamicGroupMemberURL) - see LDAP settings advanced tab. Added public function getDynamicGroupMembers. Updated function _groupMembers. Updated function getUserGroups.
Diffstat (limited to 'apps/user_ldap/lib/configuration.php')
-rw-r--r--apps/user_ldap/lib/configuration.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/configuration.php b/apps/user_ldap/lib/configuration.php
index 75d244255c6..11090f1301b 100644
--- a/apps/user_ldap/lib/configuration.php
+++ b/apps/user_ldap/lib/configuration.php
@@ -7,6 +7,7 @@
* @author Lukas Reschke <lukas@owncloud.com>
* @author Morris Jobke <hey@morrisjobke.de>
* @author Robin McCorkell <robin@mccorkell.me.uk>
+ * @author Richard Bentley <rbentley@e2advance.com>
*
* @copyright Copyright (c) 2016, ownCloud, Inc.
* @license AGPL-3.0
@@ -83,6 +84,7 @@ class Configuration {
'lastJpegPhotoLookup' => null,
'ldapNestedGroups' => false,
'ldapPagingSize' => null,
+ 'ldapDynamicGroupMemberURL' => null,
);
/**
@@ -439,6 +441,7 @@ class Configuration {
'ldap_nested_groups' => 0,
'ldap_paging_size' => 500,
'ldap_experienced_admin' => 0,
+ 'ldap_dynamic_group_member_url' => '',
);
}
@@ -492,7 +495,8 @@ class Configuration {
'last_jpegPhoto_lookup' => 'lastJpegPhotoLookup',
'ldap_nested_groups' => 'ldapNestedGroups',
'ldap_paging_size' => 'ldapPagingSize',
- 'ldap_experienced_admin' => 'ldapExperiencedAdmin'
+ 'ldap_experienced_admin' => 'ldapExperiencedAdmin',
+ 'ldap_dynamic_group_member_url' => 'ldapDynamicGroupMemberURL',
);
return $array;
}