Code

Replaced config->search with get_cfg_value
[gosa.git] / gosa-core / include / class_core.inc
index 1b3508d96f463d3793472c5b4ff73e24071cb3b0..586a8155ba21ec20b7d088a3f071281e0df2fbf3 100644 (file)
@@ -96,7 +96,7 @@ class core extends plugin {
                             "check"         => "gosaProperty::isBool",
                             "migrate"       => "",
                             "group"         => "authentification",
-                            "mandatory"     => FALSE),
+                            "mandatory"     => TRUE),
 
                         array(
                             "name"          => "logging",
@@ -107,7 +107,7 @@ class core extends plugin {
                             "check"         => "gosaProperty::isBool",
                             "migrate"       => "",
                             "group"         => "core",
-                            "mandatory"     => FALSE),
+                            "mandatory"     => TRUE),
 
                         array(
                                 "name"          => "listSummary",
@@ -158,7 +158,7 @@ class core extends plugin {
                                 "check"         => "gosaProperty::isBool",
                                 "migrate"       => "",
                                 "group"         => "debug",
-                                "mandatory"     => FALSE),
+                                "mandatory"     => TRUE),
 
                         array(
                                 "name"          => "schemaCheck",
@@ -168,7 +168,7 @@ class core extends plugin {
                                 "check"         => "gosaProperty::isBool",
                                 "migrate"       => "",
                                 "group"         => "debug",
-                                "mandatory"     => FALSE),
+                                "mandatory"     => TRUE),
 
                         array(
                                 "name"          => "copyPaste",
@@ -178,7 +178,7 @@ class core extends plugin {
                                 "check"         => "gosaProperty::isBool",
                                 "migrate"       => "",
                                 "group"         => "copyPaste",
-                                "mandatory"     => FALSE),
+                                "mandatory"     => TRUE),
 
                         array(
                                 "name"          => "forceGlobals",
@@ -188,7 +188,7 @@ class core extends plugin {
                                 "check"         => "gosaProperty::isBool",
                                 "migrate"       => "",
                                 "group"         => "security",
-                                "mandatory"     => FALSE),
+                                "mandatory"     => TRUE),
 
                         array(
                                 "name"          => "forceSSL",
@@ -198,7 +198,7 @@ class core extends plugin {
                                 "check"         => "gosaProperty::isBool",
                                 "migrate"       => "",
                                 "group"         => "security",
-                                "mandatory"     => FALSE),
+                                "mandatory"     => TRUE),
 
                         array(
                                 "name"          => "ldapStats",
@@ -210,6 +210,26 @@ class core extends plugin {
                                 "group"         => "debug",
                                 "mandatory"     => FALSE),
 
+                        array(
+                                "name"          => "ldapSizelimit",
+                                "type"          => "integer",
+                                "default"       => 200,
+                                "description"   => _("The ldapSizelimit statement tells GOsa to retrieve the specified maximum number of results. The user will get  a  warning,  that  not  all entries were shown."), 
+                                "check"         => "gosaProperty::isInteger",
+                                "migrate"       => "",
+                                "group"         => "core",
+                                "mandatory"     => TRUE),
+
+                        array(
+                                "name"          => "ldapSizeIgnore",
+                                "type"          => "bool",
+                                "default"       => "false",
+                                "description"   => _("Disables sizelimit checks, only the configured amount of results will be shown!"),
+                                "check"         => "gosaProperty::isBool",
+                                "migrate"       => "",
+                                "group"         => "core",
+                                "mandatory"     => FALSE),
+
                         array(
                                 "name"          => "warnSSL",
                                 "type"          => "bool",
@@ -218,7 +238,7 @@ class core extends plugin {
                                 "check"         => "gosaProperty::isBool",
                                 "migrate"       => "",
                                 "group"         => "security",
-                                "mandatory"     => FALSE),
+                                "mandatory"     => TRUE),
 
                         array(
                                 "name"          => "ppdGzip",
@@ -291,7 +311,7 @@ class core extends plugin {
                                 "check"         => "",
                                 "migrate"       => "",
                                 "group"         => "core",
-                                "mandatory"     => FALSE),
+                                "mandatory"     => TRUE),
 
                         array(
                                 "name"          => "language",
@@ -318,7 +338,7 @@ class core extends plugin {
                         array(
                                 "name"          => "sessionLifetime",
                                 "type"          => "integer",
-                                "default"       => "",
+                                "default"       => 7200,
                                 "description"   => "The 'sessionLifetime' value defines when a session will expire in seconds. For Debian systems, this will not work because the sessions will be removed by a cron job instead. Please modify the value inside of your php.ini instead.",
                                 "check"         => "gosaProperty::isInteger",
                                 "migrate"       => "",
@@ -333,7 +353,7 @@ class core extends plugin {
                                 "check"         => "gosaProperty::isWriteablePath",
                                 "migrate"       => "",
                                 "group"         => "core",
-                                "mandatory"     => FALSE),
+                                "mandatory"     => TRUE),
 
                         array(
                                 "name"          => "debugLevel",
@@ -385,7 +405,7 @@ DEBUG_SI      = 256"),
                                 "check"         => "",
                                 "migrate"       => "",
                                 "group"         => "security",
-                                "mandatory"     => FALSE),
+                                "mandatory"     => TRUE),
 
                         array(
                                 "name"          => "userRDN",
@@ -415,7 +435,7 @@ DEBUG_SI      = 256"),
                                 "check"         => "gosaProperty::isInteger",
                                 "migrate"       => "",
                                 "group"         => "core",
-                                "mandatory"     => FALSE),
+                                "mandatory"     => TRUE),
 
                         array(
                                 "name"          => "uidNumberBase",
@@ -425,7 +445,7 @@ DEBUG_SI      = 256"),
                                 "check"         => "gosaProperty::isInteger",
                                 "migrate"       => "",
                                 "group"         => "core",
-                                "mandatory"     => FALSE),
+                                "mandatory"     => TRUE),
 
                         array(
                                 "name"          => "gosaSupportURI",
@@ -456,7 +476,7 @@ DEBUG_SI      = 256"),
                                 "check"         => "",
                                 "migrate"       => "",
                                 "group"         => "security",
-                                "mandatory"     => FALSE),
+                                "mandatory"     => TRUE),
 
                         array(
                                 "name"          => "timezone",
@@ -467,7 +487,7 @@ DEBUG_SI      = 256"),
                                 "check"         => "",
                                 "migrate"       => "",
                                 "group"         => "core",
-                                "mandatory"     => FALSE),
+                                "mandatory"     => TRUE),
 
                         array(
                                 "name"          => "honourUnitTags",
@@ -711,7 +731,7 @@ Example template /etc/gosa/vacation/business.txt:
                                 "check"         => "gosaProperty::isBool",
                                 "migrate"       => "",
                                 "group"         => "security",
-                                "mandatory"     => FALSE),
+                                "mandatory"     => TRUE),
 
                         array(
                                 "name"          => "honourIvbbAttributes",
@@ -771,7 +791,7 @@ Example template /etc/gosa/vacation/business.txt:
                                 "check"         => "gosaProperty::isBool",
                                 "migrate"       => "",
                                 "group"         => "snapshot",
-                                "mandatory"     => FALSE),
+                                "mandatory"     => TRUE),
 
                         array(
                                 "name"          => "snapshotBase",