Code

removed unique remove templates, added one in the theme directory
[gosa.git] / gosa-core / setup / class_setupStep_Schema.inc
index 4f795ea3f41f2c7fda382398e15d7297ff910741..c4784593f6d927503cc4bad9b4534662807c0828 100644 (file)
@@ -110,13 +110,13 @@ class Step_Schema extends setup_step
   function check_schema()
   {
     $cfg = $this->parent->captured_values;
-    $rfc2307bis = $cfg['rfc2307bis'];
-    $this->checked = check_schema($cfg,$rfc2307bis);
 
     /* Get objectclasses */
     $ldap = new LDAP($cfg['admin'],$cfg['password'],$cfg['connection'] ,FALSE,$cfg['tls']);
-    $objectclasses = $ldap->get_objectclasses();
+    $objectclasses = $ldap->get_objectclasses(TRUE);
     $this->found_ocs = count($objectclasses);
+    $rfc2307bis = $cfg['rfc2307bis'];
+    $this->checked = check_schema($cfg,$rfc2307bis);
 
     /* Which samba version do we use? */
     if(isset($objectclasses['sambaSamAccount'])){