summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9b51a81)
raw | patch | inline | side by side (parent: 9b51a81)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 30 May 2008 13:46:03 +0000 (13:46 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 30 May 2008 13:46:03 +0000 (13:46 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11124 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/systems/admin/systems/class_servGeneric.inc | patch | blob | history | |
gosa-plugins/systems/admin/systems/server.tpl | patch | blob | history |
diff --git a/gosa-plugins/systems/admin/systems/class_servGeneric.inc b/gosa-plugins/systems/admin/systems/class_servGeneric.inc
index 2886b19b1a244e2a3293d41ef39370f6de489561..56e7512a06a319945ea0c66b1bdb8103a479ab63 100644 (file)
var $currently_installing = FALSE;
var $currently_installing_warned = FALSE;
+ var $kerberos_key_service = NULL;
+
function servgeneric (&$config, $dn= NULL, $parent= NULL)
{
/* Check if FAI is activated */
plugin::plugin ($config, $dn, $parent);
+ /* Initialize kerberos host key plugin */
+ if(class_available("krb_host_keys")){
+ $this->kerberos_key_service = new krb_host_keys($this->config,$this);
+ }
+
$this->ui = get_userinfo();
$this->modes["active"]= _("Activated");
$this->modes["locked"]= _("Locked");
$smarty->assign("modes", $this->modes);
$smarty->assign("currently_installing", $this->currently_installing);
+ $smarty->assign("host_key","");
+ if(is_object($this->kerberos_key_service)){
+ $smarty->assign("host_key",$this->kerberos_key_service->execute());
+ }
+
return($smarty->fetch (get_template_path('server.tpl', TRUE)));
}
$this->base = $base_tmp;
}
}
+
+ /* Hanle kerberos host key plugin */
+ if(is_object($this->kerberos_key_service)){
+ $this->kerberos_key_service->save_object();
+ }
}
diff --git a/gosa-plugins/systems/admin/systems/server.tpl b/gosa-plugins/systems/admin/systems/server.tpl
index 061074747a0626b69e979cd61e8cf4faaa9549ab..38a634a18ad9783cb6a40162c0d2c597bed4de29 100644 (file)
</td>
</tr>
</table>
+ {$host_key}
</td>
<td style="vertical-align:top;border-left:1px solid #A0A0A0;">
<table summary="">