Hi all,
Whenever I try to update my password using the password plugins by adding on my main.inc.php file the following line:
$rcmail_config['plugins'] = array("password");
An error pops up saying there was an error updating the password. Here follows my logs/errors file:
[11-Oct-2012 16:28:27 UTC] MDB2 Error: not found (-4): unable to find package 'MDB2_Driver_mailsql?new_link=true' file 'MDB2/Driver/mailsql?new/link=true.php'
[11-Oct-2012 16:28:27 +0000]: DB Error: unable to find package 'MDB2_Driver_mailsql?new_link=true' file 'MDB2/Driver/mailsql?new/link=true.php' in /var/www/zemarestaleiro.com.br/htdocs/roundcube/program/include/rcube_mdb2.php on line 107 (POST /?_task=settings&_action=plugin.password-save?_task=&_action=)
Here follows the relevant part of my password/config.inc.php file:
// Password Plugin options
$rcmail_config['password_driver'] = 'sql';
$rcmail_config['password_confirm_current'] = true;
$rcmail_config['password_minimum_length'] = 5;
$rcmail_config['password_require_nonalpha'] = false;
$rcmail_config['password_log'] = false;
$rcmail_config['password_login_exceptions'] = null;
// SQL Driver options
$rcmail_config['password_db_dsn'] = 'mailsql';
$rcmail_config['password_query'] = 'Update mailsql.users set crypt = %c where email=%u';
$rcmail_config['password_idn_ascii'] = false;
$rcmail_config['password_dovecotpw_method'] = 'CRAM-MD5';
$rcmail_config['password_dovecotpw_with_method'] = false;
$rcmail_config['password_hash_algorithm'] = 'sha1';
$rcmail_config['password_hash_base64'] = false;
What am I possibly doing wrong?
Thanks in advance for all the help!
The $rcmail_config['password_db_dsn'] should be formated as follows:
db_provider://user:password@host/database
I.E.:
mysql://roundcube:pass@localhost/roundcubemail
Wow! That was fast! It did the trick! I'm very grateful for the answer! Cheers