From: hickert Date: Thu, 14 Feb 2008 15:26:59 +0000 (+0000) Subject: Fixed terminal service. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ebefdb62756b56709d831a6eafc98e39a57c4ffe;p=gosa.git Fixed terminal service. -Since gotoXdmcpServer was implemented, we couldn't remove terminals from ogroups anymore. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8920 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/goto/admin/systems/goto/class_terminalService.inc b/gosa-plugins/goto/admin/systems/goto/class_terminalService.inc index 9e0c9a05a..6d752007e 100644 --- a/gosa-plugins/goto/admin/systems/goto/class_terminalService.inc +++ b/gosa-plugins/goto/admin/systems/goto/class_terminalService.inc @@ -51,7 +51,7 @@ class termservice extends plugin /* attribute list for save action */ - var $attributes= array("cn", "gotoLpdEnable", "gotoXMonitor", "gotoXMethod", "gotoXdmcpServer", + var $attributes= array("gotoLpdEnable", "gotoXMonitor", "gotoXMethod", "gotoXdmcpServer", "gotoXDriver", "gotoXResolution", "gotoXColordepth", "gotoXHsync", "gotoXVsync", "gotoLpdEnable", "gotoLpdServer", "gotoScannerEnable", "gotoScannerModel", "gotoScannerClients", @@ -432,6 +432,12 @@ class termservice extends plugin { new log("remove","terminal/".get_class($this),$this->dn,array_keys($this->attrs)); $this->handle_post_events("remove"); + + plugin::remove_from_parent(); + $ldap = $this->config->get_ldap_link(); + $ldap->cd($this->dn); + $ldap->modify($this->attrs); + show_ldap_error($ldap->get_error(),_("Could not remove terminal service.")); }