aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2017-09-11 12:11:25 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2017-09-14 14:14:04 +0200
commit30bf1c158d4b1ca3c2a03097bf1b109e23b5325a (patch)
tree3b65cbaa77280eab64b27aba44908066dd457aba /apps
parentde8626694f0dffdc50f78bb9ae7aaf0168e8e43d (diff)
downloadnextcloud-server-30bf1c158d4b1ca3c2a03097bf1b109e23b5325a.tar.gz
nextcloud-server-30bf1c158d4b1ca3c2a03097bf1b109e23b5325a.zip
replace hard-coded attribute with the corresponding settings option
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps')
-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 60ce664684a..3667a2d09f7 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;
}