Code

Remove key dependencies too
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 5 Jun 2008 09:19:48 +0000 (09:19 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 5 Jun 2008 09:19:48 +0000 (09:19 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11237 594d385d-05f5-0310-b6e9-bd551577e9d8

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

index 56e7512a06a319945ea0c66b1bdb8103a479ab63..dbda1c6706088b1e5a91b828ec23f686f28296c7 100644 (file)
@@ -253,6 +253,11 @@ class servgeneric extends plugin
       return;
     }
 
+    /* Remove kerberos key dependencies too */
+    if(is_object($this->kerberos_key_service)){
+      $this->kerberos_key_service->remove_from_parent();
+    }
+
     $this->netConfigDNS->remove_from_parent();
     $ldap= $this->config->get_ldap_link();
     $ldap->rmdir($this->dn);