Code

Updated kerberos hot keys remove. Closes #532
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 12 Aug 2008 09:23:40 +0000 (09:23 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 12 Aug 2008 09:23:40 +0000 (09:23 +0000)
-Fixed remove_from_parent for service keys

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12194 594d385d-05f5-0310-b6e9-bd551577e9d8

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

index da80ccb8f23525ed2be53a2a5b97e6fa4b881304..bf6113792aecb7e76405f3e7c952b8847e830127 100644 (file)
@@ -427,7 +427,7 @@ class ServerService extends plugin
       }
       if($this->plugins[$name]->initially_was_account){
         if(isset($this->plugins[$name]->krb_host_key) && $this->plugins[$name]->krb_host_key instanceof krbHostKeys){
-          $this->plugins[$name]->krb_host_key->remove_from_parent_by_prefix($this->plugins[$name]->krb_host_key);
+          $this->plugins[$name]->krb_host_key->remove_from_parent_by_prefix($this->plugins[$name]->krb_service_prefix);
         }
         $this->plugins[$name]->remove_from_parent();
       }