diff --git a/setup/ldapmodify.php b/setup/ldapmodify.php index c1a3537377..fbdb3cd562 100644 --- a/setup/ldapmodify.php +++ b/setup/ldapmodify.php @@ -163,6 +163,7 @@ if($addclass) { reset($entry[0]['objectclass']); + unset($replace['objectclass']['count']); $replace['objectclass'] = $entry[0]['objectclass']; $replace['objectclass'][] = 'phpgwAccount'; ldap_mod_replace($ldap,$thisdn,$replace);