From: hickert Date: Fri, 22 Feb 2008 08:09:41 +0000 (+0000) Subject: Updated DNS Class. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=2ad49ada2339fdcfaf4a830fb8040c32712c1cc1;p=gosa.git Updated DNS Class. -Caching getAvailableZones() now. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9042 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/systems/admin/systems/class_termDNS.inc b/gosa-plugins/systems/admin/systems/class_termDNS.inc index b4a6a7962..45895c26d 100644 --- a/gosa-plugins/systems/admin/systems/class_termDNS.inc +++ b/gosa-plugins/systems/admin/systems/class_termDNS.inc @@ -399,12 +399,13 @@ class termDNS extends plugin $tmp = array(); $this->dnsEntry['exists'] = false; $tmp = DNS::getDNSHostEntriesDiff($this->config,$this->OrigCn,$this->dnsEntry,$this->cn); - + /* Delete dns */ foreach($tmp['del'] as $dn => $del){ $ldap->cd($dn); $ldap->rmdir_recursive($dn); new log("remove","unknown/".get_class($this),$dn); + show_ldap_error($ldap->get_error(), sprintf(_("Could not remove dns extension for '%s'."),$dn)); } } }