diff --git a/gosa-plugins/goto/admin/systems/goto/class_ArpNewDevice.inc b/gosa-plugins/goto/admin/systems/goto/class_ArpNewDevice.inc
index 7bc8128ebd5dae900dc9f10955d76bde91362ce1..fb9a41b58f807669c0d72c52ed884a408a424eac 100644 (file)
$message= plugin::check();
$message= array_merge($message, $this->netConfigDNS->check());
if(empty($this->cn)){
- $message[] = _("Please specify a valid dns name.");
+ $message[] = msgPool::required(_("Name"));
}
return($message);
}
$ldap = $this->config->get_ldap_link();
$ldap->cd($this->config->current['BASE']);
$ldap->rmdir_recursive($this->dn);
- show_ldap_error($ldap->get_error(),_("Could not remove arp-alert device after writing dns and dhcp configuration."));
+ if (!$ldap->success()){
+ msg_dialog::display(_("LDAP error"), msgPool::ldaperror($ldap->get_error(), $key->dn, LDAP_DEL, get_class()));
+ }
}
}