From: hickert Date: Fri, 20 May 2005 05:41:56 +0000 (+0000) Subject: Added Some ErrorMessages X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=da496f34d37d8c111bceb7ac42f4b17ea1c8a932;p=gosa.git Added Some ErrorMessages git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@263 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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 {