diff options
Diffstat (limited to 'apps/user_ldap/group_ldap.php')
-rw-r--r-- | apps/user_ldap/group_ldap.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/group_ldap.php b/apps/user_ldap/group_ldap.php index ea2cc17733d..b9f4bdf1990 100644 --- a/apps/user_ldap/group_ldap.php +++ b/apps/user_ldap/group_ldap.php @@ -109,7 +109,7 @@ class GROUP_LDAP extends lib\Access implements \OCP\GroupInterface { //uniqueMember takes DN, memberuid the uid, so we need to distinguish if((strtolower($this->connection->ldapGroupMemberAssocAttr) == 'uniquemember') || (strtolower($this->connection->ldapGroupMemberAssocAttr) == 'member') - ) { + ) { $uid = $userDN; } else if(strtolower($this->connection->ldapGroupMemberAssocAttr) == 'memberuid') { $result = $this->readAttribute($userDN, 'uid'); |