From f243f9447a9b90ecce88070fede4115628b750c6 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 27 Apr 2007 10:23:25 +0000 Subject: [PATCH] Temporary disabled some checks, will have a look at this later again git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6201 594d385d-05f5-0310-b6e9-bd551577e9d8 --- html/index.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/html/index.php b/html/index.php index b6c38f306..74ac18e9b 100644 --- a/html/index.php +++ b/html/index.php @@ -208,9 +208,9 @@ if ($_SERVER["REQUEST_METHOD"] == "POST" && isset($_POST['login'])){ /* 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 */ @@ -250,9 +250,9 @@ if ($_SERVER["REQUEST_METHOD"] == "POST" && isset($_POST['login'])){ $ldap->cd($config->current['BASE']); $ldap->search("(&(objectClass=gosaObject)(gosaSubtreeACL=:all))"); if ($ldap->count() < 1){ - print_red(_("You're missing an administrative account for GOsa, you'll not be able to administrate anything!")); - displayLogin(); - exit(); +# print_red(_("You're missing an administrative account for GOsa, you'll not be able to administrate anything!")); +# displayLogin(); +# exit(); } /* Check for valid input */ -- 2.30.2