hopefuly fix for bug [ 884067 ] if ldap gids are not consecutive, cannot deal with groups

This commit is contained in:
Lars Kneschke 2004-01-26 02:49:35 +00:00
parent cce7b854a2
commit d0faa0770e

View File

@ -167,6 +167,7 @@
unset($replace['objectclass']['count']);
$replace['objectclass'] = $entry[0]['objectclass'];
$replace['objectclass'][] = 'phpgwAccount';
sort($replace['objectclass']);
ldap_mod_replace($ldap,$thisdn,$replace);
unset($replace);
unset($addclass);