Code

Updated kerberos key hanlding
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 6 Jun 2008 08:11:39 +0000 (08:11 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 6 Jun 2008 08:11:39 +0000 (08:11 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11255 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/goto/admin/systems/goto/class_terminalGeneric.inc
gosa-plugins/goto/admin/systems/goto/class_workstationGeneric.inc

index 76c587ef2e6cd85fe49bc8c6a1c5e0e08cfed2eb..08565d4d76ae74a09efc36026edee2350828b321 100644 (file)
@@ -315,7 +315,7 @@ class termgeneric extends plugin
     /* Display kerberos host key options */  
     $smarty->assign("host_key","");
     if(is_object($this->kerberos_key_service)){
-      $smarty->assign("host_key",$this->kerberos_key_service->execute());
+      $smarty->assign("host_key",$this->kerberos_key_service->execute_by_prefix("host/"));
     }
 
     return($smarty->fetch (get_template_path('terminal.tpl', TRUE, dirname(__FILE__))));
@@ -339,7 +339,7 @@ class termgeneric extends plugin
 
         /* Remove kerberos key dependencies too */
         if(is_object($this->kerberos_key_service)){
-          $this->kerberos_key_service->remove_from_parent();
+          $this->kerberos_key_service->remove_from_parent_by_prefix("host/");
         }
 
         /* Optionally execute a command after we're done */
@@ -407,7 +407,7 @@ class termgeneric extends plugin
 
     /* Hanle kerberos host key plugin */
     if(is_object($this->kerberos_key_service)){
-      $this->kerberos_key_service->save_object();
+      $this->kerberos_key_service->save_object_by_prefix("host/");
     }
   }
 
index 775d1a4a3d027b0b44993c8a42bd88cb7d7d5f09..1d9c80a898a45e4ec619c10c1601c5074e81877c 100644 (file)
@@ -342,7 +342,7 @@ class workgeneric extends plugin
     /* Display kerberos host key options */
     $smarty->assign("host_key","");
     if(is_object($this->kerberos_key_service)){
-      $smarty->assign("host_key",$this->kerberos_key_service->execute());
+      $smarty->assign("host_key",$this->kerberos_key_service->execute_by_prefix("host/"));
     }
 
     /* Show main page */
@@ -364,7 +364,7 @@ class workgeneric extends plugin
 
       /* Remove kerberos key dependencies too */
       if(is_object($this->kerberos_key_service)){
-        $this->kerberos_key_service->remove_from_parent();
+        $this->kerberos_key_service->remove_from_parent_by_prefix("host/");
       }
 
       /* Optionally execute a command after we're done */
@@ -432,7 +432,7 @@ class workgeneric extends plugin
 
     /* Hanle kerberos host key plugin */
     if(is_object($this->kerberos_key_service)){
-      $this->kerberos_key_service->save_object();
+      $this->kerberos_key_service->save_object_by_prefix("host");
     }
   }