ISPConfig Soap Error mail user update

Discussion in 'General' started by andypl, Mar 9, 2013.

  1. andypl

    andypl Member

    I have a problem with changing passwords via a plugin in roundcube.
    I get the following message if I want to change the password.

    The following code php plugin for roundcube ispconfig3_pass

              $params $mail_user[0];
    $params['password'] = $newpwd;

    $uid $soap->client_get_id($session_id$mail_user[0]['sys_userid']);
    $update $soap->mail_user_update($session_id$uid$mail_user[0]['mailuser_id'], $params);

    $this->rcmail_inst->output->command('display_message'$this->gettext('successfullysaved'), 'confirmation');

    $_SESSION['password'] = $this->rcmail_inst->encrypt($newpwd);

    $this->rcmail_inst->user->data['password'] = $_SESSION['password'];
                                    catch (
    SoapFault $e)
    $this->rcmail_inst->output->command('display_message''Soap Error: '.$e->getMessage(), 'error');
    What should I add or change to properly be able to change your password?
    Last edited: Mar 9, 2013
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    In $params array, the quota value seems to be missing. Check were the script gets $mail_user[0] from and ensurre that the quota field is set in that array.
  3. vaio1

    vaio1 ISPConfig Developer ISPConfig Developer

    Same problem for me:

    There was a problem with Email account creation: quota_error_isint

    <br />
    "email":"[email protected]",
    "login":"[email protected]",
  4. dar_ek

    dar_ek New Member

Share This Page