Code

Some functions were missing.
[gosa.git] / plugins / admin / systems / class_termDNS.inc
index 143cbd81b4797a81b3fc8a332cf45050901d14fc..ad36377c53174a60260005accfbde831652cb380 100644 (file)
@@ -230,7 +230,7 @@ class termDNS extends plugin
     while($attr = $ldap->fetch()){  
       $ldap->cd($attr['dn']);
       $ldap->rmDir($attr['dn']);
-      show_ldap_error("Record:".$ldap->get_error(), _("Removing terminal from DNS object failed")); 
+      show_ldap_error($ldap->get_error(), sprintf(_("Removing of terminal/dns acoount with dn '%s' failed."),$this->dn));
     }
     */
   }
@@ -445,7 +445,7 @@ class termDNS extends plugin
       /* Display errors 
        */
       if($ldap->get_error() != "Success"){
-        show_ldap_error("Record:".$ldap->get_error(), _("Saving terminal to DNS object failed")); 
+        show_ldap_error($ldap->get_error(), sprintf(_("Saving of terminal/dns account with dn '%s' failed."),$this->dn));
       }
     }
   }