From: hickert Date: Tue, 11 May 2010 07:09:38 +0000 (+0000) Subject: Updated properties and configRegistry checks X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=debf60ae39be4abd5b16272cec584372fd4d6756;p=gosa.git Updated properties and configRegistry checks git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18312 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/contrib/gosa.conf.5 b/gosa-core/contrib/gosa.conf.5 index afe458cdf..91b471895 100644 --- a/gosa-core/contrib/gosa.conf.5 +++ b/gosa-core/contrib/gosa.conf.5 @@ -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. diff --git a/gosa-core/include/class_configRegistry.inc b/gosa-core/include/class_configRegistry.inc index d97aa66ae..6e458c096 100644 --- a/gosa-core/include/class_configRegistry.inc +++ b/gosa-core/include/class_configRegistry.inc @@ -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); diff --git a/gosa-core/plugins/addons/configViewer/class_configViewer.inc b/gosa-core/plugins/addons/configViewer/class_configViewer.inc index 41db5b37a..99a34440b 100644 --- a/gosa-core/plugins/addons/configViewer/class_configViewer.inc +++ b/gosa-core/plugins/addons/configViewer/class_configViewer.inc @@ -166,6 +166,7 @@ class configViewer extends management case 'rdn': case 'uri': case 'path': + case 'file': case 'command': case 'string': case 'integer':