summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 337c75d)
raw | patch | inline | side by side (parent: 337c75d)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 27 Jun 2005 10:29:40 +0000 (10:29 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 27 Jun 2005 10:29:40 +0000 (10:29 +0000) |
include/functions_setup.inc | patch | blob | history |
index 335ee204d766e3bb9538e9b7bcfaee0d7ffb5473..f7f3e422492ac8ca599f706a130bd4bba9a36cdc 100644 (file)
return $message;
}
+
function is_schema_readable($server, $admin, $password)
{
$ds= ldap_connect ($server);
} else {
if (!check_schema_version($objectclasses[$key], $value['version'])){
$messages[$key]['msg']= sprintf(_("Optional objectclass '%s' required by plugin '%s' does not have version %s"), $key, $class, $value['version']);
+ $messages[$key]['needonstartup'] = TRUE;
$messages[$key]['status'] =FALSE;
}else {
if(!isset($affich2[$class])){
if (!check_schema_version($objectclasses[$key], $value['version'])){
$messages[$key]['msg']= sprintf(_("Required objectclass '%s' does not have version %s"), $key, $value['version']);
$messages[$key]['status'] = FALSE;
+ $messages[$key]['needonstartup'] = TRUE;
}
+
}
}
}