summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/group_ldap.php
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2012-05-26 16:38:37 +0200
committerArthur Schiwon <blizzz@owncloud.com>2012-05-26 16:38:37 +0200
commitd2369b6e964f9bc757ce0fed000bf50a03c9d2dc (patch)
tree98b12ebf9ce042804bf257a527932755ffea819d /apps/user_ldap/group_ldap.php
parenta1c9191006a4dada8adbd00193f95392b36e41b4 (diff)
downloadnextcloud-server-d2369b6e964f9bc757ce0fed000bf50a03c9d2dc.tar.gz
nextcloud-server-d2369b6e964f9bc757ce0fed000bf50a03c9d2dc.zip
LDAP: support for 'member' as group-member-association
Diffstat (limited to 'apps/user_ldap/group_ldap.php')
-rw-r--r--apps/user_ldap/group_ldap.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/user_ldap/group_ldap.php b/apps/user_ldap/group_ldap.php
index 01aa2220df5..b3ff6c53881 100644
--- a/apps/user_ldap/group_ldap.php
+++ b/apps/user_ldap/group_ldap.php
@@ -85,7 +85,8 @@ class OC_GROUP_LDAP extends OC_Group_Backend {
}
//uniqueMember takes DN, memberuid the uid, so we need to distinguish
- if(strtolower($this->ldapGroupMemberAssocAttr) == 'uniquemember') {
+ if((strtolower($this->ldapGroupMemberAssocAttr) == 'uniquemember')
+ || (strtolower($this->ldapGroupMemberAssocAttr) == 'member')) {
$uid = $userDN;
} else if(strtolower($this->ldapGroupMemberAssocAttr) == 'memberuid') {
$result = OC_LDAP::readAttribute($userDN, 'uid');