replace hard-coded attribute with the corresponding settings option
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
parent
89f4e16cdb
commit
34f9590169
|
@ -333,7 +333,7 @@ class Group_LDAP extends BackendUtility implements \OCP\GroupInterface {
|
||||||
public function getUserGidNumber($dn) {
|
public function getUserGidNumber($dn) {
|
||||||
$gidNumber = false;
|
$gidNumber = false;
|
||||||
if($this->access->connection->hasGidNumber) {
|
if($this->access->connection->hasGidNumber) {
|
||||||
$gidNumber = $this->getEntryGidNumber($dn, 'gidNumber');
|
$gidNumber = $this->getEntryGidNumber($dn, $this->access->connection->ldapGidNumber);
|
||||||
if($gidNumber === false) {
|
if($gidNumber === false) {
|
||||||
$this->access->connection->hasGidNumber = false;
|
$this->access->connection->hasGidNumber = false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue