Code

Updated server service to support service keys
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 4 Jun 2008 13:54:45 +0000 (13:54 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 4 Jun 2008 13:54:45 +0000 (13:54 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11217 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/systems/admin/systems/class_serverService.inc

index e854840a5ead456e6e03476458bd5e472cb7dde1..7416989e7d6b366dece99b29826b94c89dd6b479 100644 (file)
@@ -69,7 +69,7 @@ class ServerService extends plugin
 
         /* Initialize kerberos key support */ 
         if(isset($this->plugins[$name]->krb_service_prefix) && !empty($this->plugins[$name]->krb_service_prefix)){
-          $this->plugins[$name]->krb_host_key = new krb_host_keys($this->config,$this->parent);
+          $this->plugins[$name]->krb_host_key = new krb_host_keys($this->config,$this->parent,$this->plugins[$name]->krb_service_prefix);
           $this->plugins[$name]->krb_host_key->ServiceKey(TRUE);
         }
 
@@ -261,6 +261,7 @@ class ServerService extends plugin
 #      $this->dialog->save_object();
       $add ="";
       if(isset($this->dialog->krb_host_key)){
+        $add = $this->dialog->krb_host_key->save_object();
         $add = $this->dialog->krb_host_key->execute();
       }
       return($add.$this->dialog->execute());