From da496f34d37d8c111bceb7ac42f4b17ea1c8a932 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 20 May 2005 05:41:56 +0000 Subject: [PATCH] Added Some ErrorMessages git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@263 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/setup_checks.inc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/setup_checks.inc b/include/setup_checks.inc index 9e23bf485..cf6f2801b 100644 --- a/include/setup_checks.inc +++ b/include/setup_checks.inc @@ -790,14 +790,20 @@ function show_setup_page4($withoutput = true) if(!$ds = @ldap_connect (validate($uri))) { $fault = true; + if($withoutput) + print_red (_("Can't connect to the specified LDAP server! Please make sure that is reachable for GOsa.")); } elseif(!@ldap_set_option($ds, LDAP_OPT_PROTOCOL_VERSION, 3)) { $fault = true; + if($withoutput) + print_red (_("Can't bind to the specified LDAP server! Please make sure that is reachable for GOsa.")); } elseif(! $r = @ldap_bind ($ds)) { $fault = true; + if($withoutput) + print_red (_("Can't bind to the specified LDAP server! Please make sure that is reachable for GOsa.")); } else { -- 2.30.2