summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 11a85b6)
raw | patch | inline | side by side (parent: 11a85b6)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 29 Jun 2006 12:05:13 +0000 (12:05 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 29 Jun 2006 12:05:13 +0000 (12:05 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3995 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/systems/class_servDNS.inc | patch | blob | history | |
plugins/admin/systems/class_servGeneric.inc | patch | blob | history | |
plugins/admin/systems/class_servKolab.inc | patch | blob | history |
index e532daba3881fabe1218a8364f34dc4bcb11e000..fbd9c812c0a74fcfdc9db2cf4e76ab50298a3310 100644 (file)
foreach($tmp['zoneUpdates'] as $dn => $attrs){
$ldap->cd($dn);
$ldap->modify($attrs);
- show_ldap_error("Zone:".$ldap->get_error(), _("Updating DNS service failed"));
+ show_ldap_error($ldap->get_error(), sprintf(_("Updating of system server/dns with dn '%s' failed."),$this->dn));
}
}
foreach($tmp['del'] as $dn => $del){
$ldap->cd($dn);
$ldap->rmdir_recursive($dn);
- show_ldap_error($ldap->get_error(), _("Removing DNS entries failed"));
+ show_ldap_error($ldap->get_error(), sprintf(_("Removing of system server/dns with dn '%s' failed."),$this->dn));
}
/* move follwoing entries
$ldap->cd($dn);
$ldap->add($attrs);
}
- show_ldap_error($ldap->get_error(), _("Saving DNS entries failed"));
+ show_ldap_error($ldap->get_error(), sprintf(_("Saving of system server/dns with dn '%s' failed."),$this->dn));
}
}
$attrs[$flag] = $value;
$this->$flag = $value;
$ldap->modify($attrs);
- show_ldap_error($ldap->get_error());
+ show_ldap_error($ldap->get_error(), sprintf(_("Set status flag for system server/dns with dn '%s' failed."),$this->dn));
$this->action_hook();
}
}
diff --git a/plugins/admin/systems/class_servGeneric.inc b/plugins/admin/systems/class_servGeneric.inc
index 1ab22f202ae774fc902bd8ec04cf6d3d1df66d86..5a6f752710c2c49d470f32cd8463e177f951c0ac 100644 (file)
$ldap->cd($this->dn);
$ldap->modify($attrs);
- show_ldap_error($ldap->get_error());
+ show_ldap_error($ldap->get_error(), sprintf(_("Saving of system server/generic (FAIstate) with dn '%s' failed."),$this->dn));
}
}
}
$ldap= $this->config->get_ldap_link();
$ldap->rmdir($this->dn);
show_ldap_error($ldap->get_error(), _("Removing server failed"));
+ show_ldap_error($ldap->get_error(), sprintf(_("Removing of system server/generic with dn '%s' failed."),$this->dn));
/* Delete references to object groups */
$ldap->cd ($this->config->current['BASE']);
$mode= "modify";
}
- show_ldap_error($ldap->get_error(), _("Saving server failed"));
+ show_ldap_error($ldap->get_error(), sprintf(_("Saving of system server/generic with dn '%s' failed."),$this->dn));
$this->netConfigDNS->cn = $this->cn;
$this->netConfigDNS->save($this->dn);
index d2f43dcbc42b00ccb3bbabda70b45f7a0f8bc96e..07ae9a588aaafcc29ac0ab9878d78397575cffb1 100644 (file)
/* Remove complete entry */
$ldap->rmdir ($this->dn);
- show_ldap_error($ldap->get_error(), _("Removing kolab host entry failed"));
+ show_ldap_error($ldap->get_error(), sprintf(_("Removing host entry from system server/kolab with dn '%s' failed."),$this->dn));
gosa_log("k=kolab entry removed, ".$this->hostname." was the last kolabHost entry.");
} else {
$ldap->cd($this->dn);
$this->cleanup();
$ldap->modify ($attrs);
- show_ldap_error($ldap->get_error(), _("Removing server from kolab object failed"));
+ show_ldap_error($ldap->get_error(), sprintf(_("Removing host entry from system server/kolab with dn '%s' failed."),$this->dn));
gosa_log("Removing ".$this->hostname." from list of kolabHosts");
}
$ldap->cd($this->dn);
$this->cleanup();;
$ldap->$mode($this->attrs);
- show_ldap_error($ldap->get_error(), _("Saving server to kolab object failed"));
+ show_ldap_error($ldap->get_error(), sprintf(_("Saving system server/kolab with dn '%s' failed."),$this->dn));
/* Optionally execute a command after we're done */
if ($this->initially_was_account == $this->is_account) {
$attrs[$flag] = $value;
$this->$flag = $value;
$ldap->modify($attrs);
- show_ldap_error($ldap->get_error());
+ show_ldap_error($ldap->get_error(), sprintf(_("Set status flag for system server/kolab with dn '%s' failed."),$this->dn));
$this->action_hook();
}
}