Code

Updated setup user migration
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 12 Nov 2008 13:52:33 +0000 (13:52 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 12 Nov 2008 13:52:33 +0000 (13:52 +0000)
-Ensure that objectClass "person" is included.

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13011 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/setup/class_setupStep_Migrate.inc

index be99fdd3875321c847dbfbb169ab947b78efdd36..eec10f2e00f88b9369517c56590da861ab74ac14 100644 (file)
@@ -678,7 +678,7 @@ class Step_Migrate extends setup_step
 
         /* Create new objectClass array */
         $new_attrs  = array();
-        $new_attrs['objectClass']= array("gosaAccount","inetOrgPerson","organizationalPerson");
+        $new_attrs['objectClass']= array("gosaAccount","inetOrgPerson","organizationalPerson","person");
         for($i = 0 ; $i < $attrs['objectClass']['count']; $i ++ ){
           if(!in_array_ics($attrs['objectClass'][$i], $new_attrs['objectClass'])){
             $new_attrs['objectClass'][]   = $attrs['objectClass'][$i];