From: hickert Date: Fri, 28 Nov 2008 13:07:21 +0000 (+0000) Subject: Updated setup schema check X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4405692162d94f0e3043e0a0d787fc5f8d5e27d0;p=gosa.git Updated setup schema check - Reload schema check on each execution. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13077 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/setup/class_setupStep_Schema.inc b/gosa-core/setup/class_setupStep_Schema.inc index 4f795ea3f..c4784593f 100644 --- a/gosa-core/setup/class_setupStep_Schema.inc +++ b/gosa-core/setup/class_setupStep_Schema.inc @@ -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'])){