summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9725251)
raw | patch | inline | side by side (parent: 9725251)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 20 May 2005 05:41:56 +0000 (05:41 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 20 May 2005 05:41:56 +0000 (05:41 +0000) |
include/setup_checks.inc | patch | blob | history |
index 9e23bf4856144201a9f79b816f59e8fd75b83296..cf6f2801baa4e5d4c01666f10118d19fbd06bc72 100644 (file)
--- a/include/setup_checks.inc
+++ b/include/setup_checks.inc
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
{