Author Topic: The problem with the plugin password  (Read 7694 times)

Offline redelek

  • Newbie
  • *
  • Posts: 7
The problem with the plugin password
« on: October 04, 2010, 03:24:38 AM »
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

Code: [Select]
[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

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,882
    • SKaero - Custom Roundcube development
The problem with the plugin password
« Reply #1 on: October 04, 2010, 03:44:52 AM »
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.

Offline redelek

  • Newbie
  • *
  • Posts: 7
The problem with the plugin password
« Reply #2 on: October 04, 2010, 04:45:39 AM »
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;

Offline dziobak

  • Full Member
  • ***
  • Posts: 184
The problem with the plugin password
« Reply #3 on: October 05, 2010, 01:20:02 AM »
try to telnet on port 106, you should see something like:

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

Offline redelek

  • Newbie
  • *
  • Posts: 7
The problem with the plugin password
« Reply #4 on: October 05, 2010, 02:18:02 AM »
I tried this and it works
Code: [Select]
# 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?

Offline redelek

  • Newbie
  • *
  • Posts: 7
The problem with the plugin password
« Reply #5 on: October 05, 2010, 03:37:50 AM »
I managed to find a solution to my problem
Edit / etc / pam.d / Poppassd and change
This
Code: [Select]
 # @ Include common-auth
  # @ Include common-password

At this
Code: [Select]
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.