Code

Updated properties and configRegistry checks
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 11 May 2010 07:09:38 +0000 (07:09 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 11 May 2010 07:09:38 +0000 (07:09 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18312 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/contrib/gosa.conf.5
gosa-core/include/class_configRegistry.inc
gosa-core/plugins/addons/configViewer/class_configViewer.inc

index afe458cdf64fea1c68bfc7f576118213fd9c8cce..91b471895233515a4d6daf7407817f83877c6271 100644 (file)
@@ -955,7 +955,7 @@ method.
 .I integer
 .PP
 The
-.I uidNumberPoolMin/gidNumberPoolMin
+.I uidNumberPoolMax/gidNumberPoolMax
 statement defines the highest assignable user/group id for use with the
 .I pool
 method.
index d97aa66ae8aa2676e76ef3fa22ea049444d72760..6e458c096ad943187f862264547388a67f2a40f0 100644 (file)
@@ -257,6 +257,11 @@ class gosaProperty
         return(!empty($value)&&is_writeable($value));
     }
 
+    static function isReadableFile($message,$class,$name,$value, $type)
+    {
+        return(!empty($value)&&is_readable($value)&&is_file($value));
+    }
+
     static function isCommand($message,$class,$name,$value, $type)
     {
         return(TRUE);
index 41db5b37aa67f938d25a40605b25658a746366fe..99a34440b7033e9038069d68debd57366f307003 100644 (file)
@@ -166,6 +166,7 @@ class configViewer extends management
             case 'rdn':
             case 'uri':
             case 'path':
+            case 'file':
             case 'command':
             case 'string':
             case 'integer':