Code

Updated DNS Class.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 22 Feb 2008 08:09:41 +0000 (08:09 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 22 Feb 2008 08:09:41 +0000 (08:09 +0000)
-Caching getAvailableZones() now.

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9042 594d385d-05f5-0310-b6e9-bd551577e9d8

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

index b4a6a7962b89326affc5a3bb9dbb35b1146815fd..45895c26da70275bb238425ae8ed765298e277c5 100644 (file)
@@ -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));
       }
     }
   }