specify no attribute for group exists check, as done with users

This commit is contained in:
Arthur Schiwon 2014-06-12 13:32:21 +02:00
parent 7a1b45c43b
commit df7678f01e

View file

@ -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;