Roundcube Community Forum

 

The problem with the plugin password

Started by redelek, October 04, 2010, 03:24:38 AM

Previous topic - Next topic

redelek

Hi everyone,

I installed Roundcube 0.4.1 on Ubuntu 10.04. Everything works fine, but I have a problem with the plugin password. I added it in Roundcube / config / main.inc.php
Rcmail_config ['plugins'] = array ('password');

I changed the name to config.inc.php config.inc.php.dist Everything I see, but when I tried to change the password I get the message "password can not be changed." The system logs these alerts have

[Sun Oct 03 10:31:54 p.m. 2010] [error] [client 89.72.187.105] PHP Notice: MDB2 Error: not found Query: _doQuery: [Error message: Could not execute statement] [Last Executed query: SELECT update_passwd (' $ 1 $ JRT <$ NOdOALwpkDtIC9qemCa q / q ',' Predela ')] [Native code: 1305] [Native message: FUNCTION r_mail.update_passwd does not exist] in / var / www / round / program / include / main.inc On line 1712, referer: http://round.click2call.pl/?_task=settings&_action=plugin.password
[Sun Oct 03 10:33:35 p.m. 2010] [error] [client 89.72.187.105] MDB2 Error: not found (-4): no RDBMS driver specified, referer: http://round.click2call.pl/?_task = settings & _action = plugin.password-save

Mail configuration is postfix and dovcot I do not use mysql I want to use Poppassd. Poppassd is installed and running, but the password still can not change.

Please help

Best regards
Redelek

SKaero

You need to change the password plugin configuration. In /plugins/password/config.inc.php change $rcmail_config['password_driver'] to "poppassd" and change $rcmail_config['password_pop_host'] and $rcmail_config['password_pop_port'] if necessary.

redelek

Unfortunately, despite the settings you provided, and still the same, only this time do not see anything in the system log and the application itself: (

$rcmail_config['password_driver'] = 'poppassd';
// Determine whether current password is required to change password.
// Default: false.
$rcmail_config['password_confirm_current'] = true;
// Require the new password to be a certain length.
 // set to blank to allow passwords of any length
$rcmail_config['password_minimum_length'] = 6;
// Require the new password to contain a letter and punctuation character
// Change to false to remove this check.
$rcmail_config['password_require_nonalpha'] = false;
// Poppassd Driver options
// -----------------------
// The host which changes the password
$rcmail_config['password_pop_host'] = 'localhost';
// TCP port used for poppassd connections
$rcmail_config['password_pop_port'] = 106;

dziobak

try to telnet on port 106, you should see something like:

Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
200 poppassd v1.2 hello, who are you?

redelek

I tried this and it works
# telnet 127.0.0.1 106
Trying 127.0.0.1 ...
Connected to 127.0.0.1.
Escape character is'^]'.
200 Poppassd v1.8.5 hello, who are you?

Any other ideas?

redelek

I managed to find a solution to my problem
Edit / etc / pam.d / Poppassd and change
This
 # @ Include common-auth
  # @ Include common-password

At this
auth required pam_unix.so
 account required pam_unix.so
 password required pam_unix.so


And everything works beautifully. Ubuntu 1.8.5 Versja Poppassd 10.04.