diff --git a/gosa-plugins/goto/admin/systems/goto/class_terminalGeneric.inc b/gosa-plugins/goto/admin/systems/goto/class_terminalGeneric.inc
index 00c2440f970bbda78001ccfb115393a4077d8d35..08565d4d76ae74a09efc36026edee2350828b321 100644 (file)
/* 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__))));
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_by_prefix("host/");
+ }
+
/* Optionally execute a command after we're done */
$this->handle_post_events("remove",array("macAddress" => $this->netConfigDNS->macAddress,"ipHostNumber" => $this->netConfigDNS->ipHostNumber));
/* 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/");
}
}