From 0b3e33758ef85e92e61ef83a79faa86d5544429e Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 6 Jun 2008 08:11:39 +0000 Subject: [PATCH] Updated kerberos key hanlding git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11255 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../goto/admin/systems/goto/class_terminalGeneric.inc | 6 +++--- .../goto/admin/systems/goto/class_workstationGeneric.inc | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/gosa-plugins/goto/admin/systems/goto/class_terminalGeneric.inc b/gosa-plugins/goto/admin/systems/goto/class_terminalGeneric.inc index 76c587ef2..08565d4d7 100644 --- a/gosa-plugins/goto/admin/systems/goto/class_terminalGeneric.inc +++ b/gosa-plugins/goto/admin/systems/goto/class_terminalGeneric.inc @@ -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/"); } } diff --git a/gosa-plugins/goto/admin/systems/goto/class_workstationGeneric.inc b/gosa-plugins/goto/admin/systems/goto/class_workstationGeneric.inc index 775d1a4a3..1d9c80a89 100644 --- a/gosa-plugins/goto/admin/systems/goto/class_workstationGeneric.inc +++ b/gosa-plugins/goto/admin/systems/goto/class_workstationGeneric.inc @@ -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"); } } -- 2.30.2