summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2014-06-12 13:32:21 +0200
committerArthur Schiwon <blizzz@owncloud.com>2014-06-27 18:49:11 +0200
commitdf7678f01ee82cd5fd0d0e985ace5b6dca0d046f (patch)
tree0ed7ada831d723f7c2e4bb35fdbd9588f6062dd1 /apps/user_ldap
parent7a1b45c43bcca2de24ef1cc55dd1867b63e1462e (diff)
downloadnextcloud-server-df7678f01ee82cd5fd0d0e985ace5b6dca0d046f.tar.gz
nextcloud-server-df7678f01ee82cd5fd0d0e985ace5b6dca0d046f.zip
specify no attribute for group exists check, as done with users
Diffstat (limited to 'apps/user_ldap')
-rw-r--r--apps/user_ldap/group_ldap.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/group_ldap.php b/apps/user_ldap/group_ldap.php
index 4051b1d8cae..af41bf65323 100644
--- a/apps/user_ldap/group_ldap.php
+++ b/apps/user_ldap/group_ldap.php
@@ -469,7 +469,7 @@ class GROUP_LDAP extends BackendUtility implements \OCP\GroupInterface {
}
//if group really still exists, we will be able to read its objectclass
- $objcs = $this->access->readAttribute($dn, 'objectclass');
+ $objcs = $this->access->readAttribute($dn, '');
if(!$objcs || empty($objcs)) {
$this->access->connection->writeToCache('groupExists'.$gid, false);
return false;