diff --git a/setup/ldapmodify.php b/setup/ldapmodify.php index 6b8679602a..11593d30f8 100644 --- a/setup/ldapmodify.php +++ b/setup/ldapmodify.php @@ -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);