Directadmin 1.50 + Roundcube Password plugin does not work

Daggerka

Verified User
Joined
Feb 4, 2012
Messages
27
Hello,

My server:
System: Debian 7
Directadmin: 1.50
php: 5.6.18
Apache: 2.4.18
RoundCube: 1.2.1
DirectAdmin SSL: yes

When i wanna change password with roundcube:
An error occured.
New password could not be saved.

File: /var/www/html/roundcubemail-1.2.1/plugins/password/config.inc.php
Code:
// DirectAdmin Driver options
// --------------------------
// The host which changes the password
// Use 'ssl://host' instead of 'tcp://host' when running DirectAdmin over SSL.
// The host can contain the following macros that will be expanded as follows:
//     %h is replaced with the imap host (from the session info)
//     %d is replaced with the domain part of the username (if the username is an email)
$config['password_directadmin_host'] = 'ssl://my.host';

// TCP port used for DirectAdmin connections
$config['password_directadmin_port'] = 2222;
Source: https://help.directadmin.com/item.php?id=475 and https://forum.directadmin.com/showthread.php?t=52632

Error log:
Code:
[Wed Sep 07 18:53:55.786499 2016] [:error] [pid 16300] [client 123.123.123.123:50888] PHP Warning:  file_put_contents(/var/www/html/roundcubemail-1.2.1/logs/errors): failed to open stream: Permission denied in /var/www/html/roundcubemail-1.2.1/program/lib/Roundcube/rcube.php on line 1198, referer: https://webmail.my.host/?_task=settings&_action=plugin.password-save
[Wed Sep 07 18:53:55.786568 2016] [:error] [pid 16300] [client 123.123.123.123:50888] PHP Warning:  [1370] execute command denied to user 'da_roundcube'@'localhost' for routine 'da_roundcube.update_passwd' (SQL Query: SELECT update_passwd('$1$pF..secret..kLUeCpePtGwCe0', '[email protected]')) in /var/www/html/roundcubemail-1.2.1/program/lib/Roundcube/rcube.php on line 1304, referer: https://webmail.my.host/?_task=settings&_action=plugin.password-save
 
Last edited:
Thanks, but i try Option A) before (first post), and now download new drivers - Option B).
No effect. Errors in the log are the same as previously. Still change passwords with roundcube is impossible.
 
Back
Top