mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-13 00:40:34 +01:00
backported r27838 to 1.6: cant create new groups
This commit is contained in:
parent
864fc5adc1
commit
ed9214bf1a
@ -240,7 +240,7 @@ class accounts_ldap
|
|||||||
{
|
{
|
||||||
$to_write['objectclass'] = $old ? $old['objectclass'] : array();
|
$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
|
{ // as setting them later might loose eg. password, if we are not allowed to read them
|
||||||
foreach($this->requiredObjectClasses['user-if-supported'] as $additional)
|
foreach($this->requiredObjectClasses['user-if-supported'] as $additional)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user