From: hickert Date: Thu, 5 Jun 2008 09:21:13 +0000 (+0000) Subject: Remove kerberos keys too X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=83a0d422f3c7f6407f1328a6256a66347361aa3a;p=gosa.git Remove kerberos keys too git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11238 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/goto/admin/systems/goto/class_terminalGeneric.inc b/gosa-plugins/goto/admin/systems/goto/class_terminalGeneric.inc index 00c2440f9..76c587ef2 100644 --- a/gosa-plugins/goto/admin/systems/goto/class_terminalGeneric.inc +++ b/gosa-plugins/goto/admin/systems/goto/class_terminalGeneric.inc @@ -337,6 +337,11 @@ class termgeneric extends plugin msg_dialog::display(_("LDAP error"), msgPool::ldaperror($ldap->get_error(), $this->dn, LDAP_DEL, get_class())); } + /* Remove kerberos key dependencies too */ + if(is_object($this->kerberos_key_service)){ + $this->kerberos_key_service->remove_from_parent(); + } + /* Optionally execute a command after we're done */ $this->handle_post_events("remove",array("macAddress" => $this->netConfigDNS->macAddress,"ipHostNumber" => $this->netConfigDNS->ipHostNumber)); diff --git a/gosa-plugins/goto/admin/systems/goto/class_workstationGeneric.inc b/gosa-plugins/goto/admin/systems/goto/class_workstationGeneric.inc index c9185abc1..775d1a4a3 100644 --- a/gosa-plugins/goto/admin/systems/goto/class_workstationGeneric.inc +++ b/gosa-plugins/goto/admin/systems/goto/class_workstationGeneric.inc @@ -362,6 +362,11 @@ class workgeneric extends plugin msg_dialog::display(_("LDAP error"), msgPool::ldaperror($ldap->get_error(), $this->dn, LDAP_DEL, get_class())); } + /* Remove kerberos key dependencies too */ + if(is_object($this->kerberos_key_service)){ + $this->kerberos_key_service->remove_from_parent(); + } + /* Optionally execute a command after we're done */ $this->handle_post_events("remove", array("macAddress" => $this->netConfigDNS->macAddress,"ipHostNumber" => $this->netConfigDNS->ipHostNumber));