mirror of
https://github.com/nextcloud/server.git
synced 2026-06-12 10:10:49 -04:00
replace hard-coded attribute with the corresponding settings option
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
parent
de8626694f
commit
30bf1c158d
1 changed files with 1 additions and 1 deletions
|
|
@ -333,7 +333,7 @@ class Group_LDAP extends BackendUtility implements \OCP\GroupInterface {
|
|||
public function getUserGidNumber($dn) {
|
||||
$gidNumber = false;
|
||||
if($this->access->connection->hasGidNumber) {
|
||||
$gidNumber = $this->getEntryGidNumber($dn, 'gidNumber');
|
||||
$gidNumber = $this->getEntryGidNumber($dn, $this->access->connection->ldapGidNumber);
|
||||
if($gidNumber === false) {
|
||||
$this->access->connection->hasGidNumber = false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue