mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
"2. fixing the fix ;-)
only add optional user objectclasses for users NOT for groups"
This commit is contained in:
parent
42c20e17d3
commit
3c84aebb3c
@ -232,7 +232,7 @@ class accounts_ldap
|
||||
{
|
||||
$to_write['objectclass'] = $old ? $old['objectclass'] : array();
|
||||
}
|
||||
if (!$old) // for new accounts add additional addressbook object classes, if supported by server
|
||||
if (!$old && !$is_group) // for new accounts add additional addressbook object classes, if supported by server
|
||||
{ // as setting them later might loose eg. password, if we are not allowed to read them
|
||||
foreach($this->requiredObjectClasses['user-if-supported'] as $additional)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user