code style
This commit is contained in:
parent
a6c5309e16
commit
92f447ca50
|
@ -109,7 +109,8 @@ class GROUP_LDAP extends lib\Access implements \OCP\GroupInterface {
|
||||||
|
|
||||||
//uniqueMember takes DN, memberuid the uid, so we need to distinguish
|
//uniqueMember takes DN, memberuid the uid, so we need to distinguish
|
||||||
if((strtolower($this->connection->ldapGroupMemberAssocAttr) == 'uniquemember')
|
if((strtolower($this->connection->ldapGroupMemberAssocAttr) == 'uniquemember')
|
||||||
|| (strtolower($this->connection->ldapGroupMemberAssocAttr) == 'member')) {
|
|| (strtolower($this->connection->ldapGroupMemberAssocAttr) == 'member')
|
||||||
|
) {
|
||||||
$uid = $userDN;
|
$uid = $userDN;
|
||||||
} else if(strtolower($this->connection->ldapGroupMemberAssocAttr) == 'memberuid') {
|
} else if(strtolower($this->connection->ldapGroupMemberAssocAttr) == 'memberuid') {
|
||||||
$result = $this->readAttribute($userDN, 'uid');
|
$result = $this->readAttribute($userDN, 'uid');
|
||||||
|
|
Loading…
Reference in New Issue