ISPConfig 3.0.5.1 Soap Error mail user update

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

  1. andypl

    andypl Member

    Hi,
    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

    PHP:
              $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);
                                            
    $soap->logout($session_id);

                                            
    $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?
    Regards
     
    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

    Code:
    <br />
    "server_id":"3",
    "email":"info@mydomain.com",
    "login":"info@mydomain.com",
    "password":"minihulo",
    "uid":5000,
    "gid":5000,
    "maildir":"\/var\/vmail\/sparmi.com\/info",
    "quota":[B]2621440000[/B],
    "cc":"",
    "homedir":"",
    "autoresponder":"n",
    "autoresponder_start_date":"",
    "autoresponder_end_date":"",
    "autoresponder_text":"",
    "move_junk":"n",
    "custom_mailfilter":"",
    "postfix":"y",
    "access":"n",
    "disableimap":"n",
    "disablepop3":"n",
    "disabledeliver":"n",
    "disablesmtp":"n"
    
     
  4. dar_ek

    dar_ek New Member

Share This Page