summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8ac8c8e)
raw | patch | inline | side by side (parent: 8ac8c8e)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 27 Apr 2007 09:58:23 +0000 (09:58 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 27 Apr 2007 09:58:23 +0000 (09:58 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6200 594d385d-05f5-0310-b6e9-bd551577e9d8
html/index.php | patch | blob | history |
diff --git a/html/index.php b/html/index.php
index 6d6c48d816331e7e1d182ceda941faabf092b043..b6c38f3062a1982784afba0df26d83c7862c16a1 100644 (file)
--- a/html/index.php
+++ b/html/index.php
/* Admin-logon and verify */
$ldap = $config->get_ldap_link();
if (is_null($ldap) || (is_int($ldap) && $ldap == 0)){
- print_red (_("Can't bind to LDAP. Please contact the system administrator."));
- displayLogin();
- exit();
+# print_red (_("Can't bind to LDAP. Please contact the system administrator."));
+# displayLogin();
+# exit();
}
/* Check for schema file presence */
$config->data['MAIN']['SCHEMA_CHECK'] = "true";
}
if(isset($config->data['MAIN']['SCHEMA_CHECK'])&&preg_match("/true/i",$config->data['MAIN']['SCHEMA_CHECK'])){
- require_once("functions_setup.inc");
$recursive = (isset($config->current['RECURSIVE']) && $config->current['RECURSIVE'] == "true");
$tls = (isset($config->current['TLS']) && $config->current['TLS'] == "true");
- if(!is_schema_readable($config->current['SERVER'], $config->current['ADMIN'], $config->current['PASSWORD'], $recursive, $tls)){
-
- print_red(_("GOsa cannot retrieve information about the installed schema files. Please make sure, that this is possible."));
- displayLogin();
- exit() ;
- }else{
- $str = (schema_check($config->current['SERVER'],$config->current['ADMIN'],$config->current['PASSWORD'], $recursive, $tls, 0, TRUE));
- $checkarr = array();
- foreach($str as $tr){
- if(isset($tr['needonstartup'])){
- print_red($tr['msg']."<br>"._("Your ldap setup contains old schema definitions. Please re-run the setup."));
- displayLogin();
- exit() ;
- }
- }
- }
+# if(!is_schema_readable($config->current['SERVER'], $config->current['ADMIN'], $config->current['PASSWORD'], $recursive, $tls)){
+#
+# print_red(_("GOsa cannot retrieve information about the installed schema files. Please make sure, that this is possible."));
+# displayLogin();
+# exit() ;
+# }else{
+# $str = (schema_check($config->current['SERVER'],$config->current['ADMIN'],$config->current['PASSWORD'], $recursive, $tls, 0, TRUE));
+# $checkarr = array();
+# foreach($str as $tr){
+# if(isset($tr['needonstartup'])){
+# print_red($tr['msg']."<br>"._("Your ldap setup contains old schema definitions. Please re-run the setup."));
+# displayLogin();
+# exit() ;
+# }
+# }
+# }
}
/* Check for locking area */
$ldap->cat($config->current['CONFIG'], array("dn"));