Code

Fixed problem with empty old_cn when creating a new entry. You always can overwrite...
[gosa.git] / plugins / personal / netatalk / class_netatalk.inc
index 9c65c8c2ecee2a11b0209cd16facc57632abc907..7e66f6ce8584dc699110c6ff801019152cd59be9 100644 (file)
@@ -253,7 +253,7 @@ class netatalk extends plugin {
     $this->cleanup();
     $ldap->modify($this->attrs);
 
-    show_ldap_error($ldap->get_error());
+    show_ldap_error($ldap->get_error(), _("Saving Netatalk account failed"));
 
     /* Optionally execute a command after we're done */
     if ($this->initially_was_account == $this->is_account) {
@@ -313,7 +313,7 @@ class netatalk extends plugin {
     $this->cleanup();
     $ldap->modify($this->attrs);
 
-    show_ldap_error($ldap->get_error());
+    show_ldap_error($ldap->get_error(), _("Removing Netatalk account failed"));
 
     /* remove the entry from LDAP */
     unset ($this->attrs['uid']);