diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2012-04-16 13:26:54 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2012-04-16 15:09:38 +0200 |
commit | e1948c651bcd51597ff231e154efacc38d090f26 (patch) | |
tree | 29ffad36e59e27bfb323c6242ce7e83449c8765a /apps/user_ldap | |
parent | 02f4e78f3eb5166ea1ae806a9aba77e35f2524a4 (diff) | |
download | nextcloud-server-e1948c651bcd51597ff231e154efacc38d090f26.tar.gz nextcloud-server-e1948c651bcd51597ff231e154efacc38d090f26.zip |
use the right attribute for member retrieval
Diffstat (limited to 'apps/user_ldap')
-rw-r--r-- | apps/user_ldap/group_ldap.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/user_ldap/group_ldap.php b/apps/user_ldap/group_ldap.php index 92e3b53d249..ce87b074ab2 100644 --- a/apps/user_ldap/group_ldap.php +++ b/apps/user_ldap/group_ldap.php @@ -29,6 +29,7 @@ class OC_GROUP_LDAP extends OC_Group_Backend { public function __construct() { $this->ldapGroupFilter = OC_Appconfig::getValue('user_ldap', 'ldap_group_filter', '(objectClass=posixGroup)'); $this->ldapGroupDisplayName = OC_Appconfig::getValue('user_ldap', 'ldap_group_display_name', 'cn'); + $this->ldapGroupMemberAttr = OC_Appconfig::getValue('user_ldap', 'ldap_group_member_attr', 'memberUid'); } /** @@ -83,7 +84,7 @@ class OC_GROUP_LDAP extends OC_Group_Backend { $this->ldapGroupDisplayName.'='.$gid )); - return $this->retrieveList($filter, OC_LDAP::conf('ldapUserDisplayName')); + return $this->retrieveList($filter, $this->ldapGroupMemberAttr); } /** |