Roundcube Community Forum

Release Support => Pending Issues => Topic started by: michaelrfc on August 16, 2024, 04:58:21 AM

Title: user can't change password, server error [600]
Post by: michaelrfc on August 16, 2024, 04:58:21 AM
Roundcube webmail: roundcubemail-1.6.8  in iRedMail-1.7.1,  DB is mysql, OS is openbsd 7.5.

more details in the config.inc.php:

$config['password_algorithm'] = "blf-crypt";
$config['password_algorithm_options'] = "blf-crypt";
$config['password_algorithm_prefix'] = "{BCRYPT}";
$config['password_dovecotpw'] = "/usr/local/bin/doveadm pw";
$config['password_dovecotpw_method'] = "BLF-CRYPT";
$config['password_dovecotpw_with_method'] = true;

any hints or ideas? Thanks.
Title: Re: user can't change password, server error [600]
Post by: alec on August 16, 2024, 06:07:22 AM
'password_algorithm' is wrong. See https://github.com/roundcube/roundcubemail/blob/8685ca9decf9179e3e78645f05a1d75566553609/plugins/password/config.inc.php.dist#L53

'password_algorithm_options' also is wrong.
Title: Re: user can't change password, server error [600]
Post by: michaelrfc on August 17, 2024, 03:24:24 AM
Yep, you killed it! thanks a lot.

The problem is solved finally.

correct config is as below:
$config['password_algorithm'] = "blowfish-crypt";     
$config['password_algorithm_options'] = "blf-crypt";
$config['password_algorithm_prefix'] = "{BLF-CRYPT}";
$config['password_dovecotpw'] = "/usr/local/bin/doveadm pw";
$config['password_dovecotpw_method'] = "BLF-CRYPT";
$config['password_dovecotpw_with_method'] = true;