summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e186bf1)
raw | patch | inline | side by side (parent: e186bf1)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 6 May 2008 11:23:48 +0000 (11:23 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 6 May 2008 11:23:48 +0000 (11:23 +0000) |
-Added checks.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10789 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10789 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/heimdal/admin/systems/services/kerberos/class_password-methods-MIT.inc | patch | blob | history |
diff --git a/gosa-plugins/heimdal/admin/systems/services/kerberos/class_password-methods-MIT.inc b/gosa-plugins/heimdal/admin/systems/services/kerberos/class_password-methods-MIT.inc
index 1579c876f17e638956572b72f65f4bd532d0e516..a0db3893a8be26d5e4e7c5d9bcedbb2e53f17d4e 100644 (file)
function check()
{
$message = array();
- echo "Checks missing";
+
+ if(!preg_match("/^[0-9]*$/",$this->MAX_LIFE)){
+ $message[] = msgPool::invalid(_("Ticket max life"),$this->MAX_LIFE,"/[0-9]/");
+ }
+ if(!preg_match("/^[0-9]*$/",$this->MAX_RENEWABLE_LIFE)){
+ $message[] = msgPool::invalid(_("Ticket max renew"),$this->MAX_RENEWABLE_LIFE,"/[0-9]/");
+ }
return($message);
}