index 1c596cb50dd73d913a81b31be0722c74106bacb5..49aa77226df402ff31922b0a83f03d3ac42d7d97 100644 (file)
$ldap->cd($this->dn);
$ldap->add($this->attrs);
}
- show_ldap_error($ldap->get_error(), _("Saving FAI variable base failed"));
+ show_ldap_error($ldap->get_error(), sprintf(_("Saving of FAI/variable with dn '%s' failed."),$this->dn));
/* Do object tagging */
$this->handle_object_tagging();
$ldap->cd($sub_dn);
$ldap->rmdir_recursive($sub_dn);
$this->handle_post_events("remove");
- show_ldap_error($ldap->get_error(), _("Removing FAI variable failed"));
+ show_ldap_error($ldap->get_error(), sprintf(_("Removing of FAI/variable with dn '%s' failed."),$sub_dn));
}elseif($obj['status'] == "edited"){
$ldap->cd($sub_dn);
$this->cleanup();
$ldap->modify ($tmp);
$this->handle_post_events("modify");
- show_ldap_error($ldap->get_error(), _("Saving FAI variable failed"));
+ show_ldap_error($ldap->get_error(), sprintf(_("Saving of FAI/variable with dn '%s' failed."),$sub_dn));
}elseif($obj['status']=="new"){
if($tmp['description'] == array()){
$ldap->cd($sub_dn);
$ldap->add($tmp);
$this->handle_post_events("add");
- show_ldap_error($ldap->get_error(), _("Saving FAI variable failed"));
+ show_ldap_error($ldap->get_error(), sprintf(_("Saving of FAI/variable with dn '%s' failed."),$sub_dn));
}
$this->handle_object_tagging($sub_dn, $this->gosaUnitTag);