summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2017-09-11 12:11:25 +0200
committerMorris Jobke <hey@morrisjobke.de>2017-09-14 13:20:51 +0200
commit34f95901698664cc0fc529c7abbac1e3db770c32 (patch)
tree8b51eb972cc457274b8347a9656b7495729ef7dd /apps/user_ldap
parent89f4e16cdb90d4fe84597255a4c989adc2f8402a (diff)
downloadnextcloud-server-34f95901698664cc0fc529c7abbac1e3db770c32.tar.gz
nextcloud-server-34f95901698664cc0fc529c7abbac1e3db770c32.zip
replace hard-coded attribute with the corresponding settings option
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/user_ldap')
-rw-r--r--apps/user_ldap/lib/Group_LDAP.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/Group_LDAP.php b/apps/user_ldap/lib/Group_LDAP.php
index f7617fa5a51..55d31649f10 100644
--- a/apps/user_ldap/lib/Group_LDAP.php
+++ b/apps/user_ldap/lib/Group_LDAP.php
@@ -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;
}