From d0faa0770e9f25299c0f0babdcf95c46dfa1700d Mon Sep 17 00:00:00 2001 From: Lars Kneschke Date: Mon, 26 Jan 2004 02:49:35 +0000 Subject: [PATCH] hopefuly fix for bug [ 884067 ] if ldap gids are not consecutive, cannot deal with groups --- setup/ldapmodify.php | 1 + 1 file changed, 1 insertion(+) 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);