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

remotes/origin/ldap_group_count
Arthur Schiwon 11 years ago
parent 7a1b45c43b
commit df7678f01e
  1. 2
      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;

Loading…
Cancel
Save