Author Topic: cpanel password changer indicates successful password not changed  (Read 23644 times)

Offline ghowey

  • Newbie
  • *
  • Posts: 8
I have successfully completed my own install of Roundcube 0.7.2 on a hosted VPS server using Centos and Cpanel. I have activated and configured the Cpanel password change plugin in Roundcube. When I change the password Roundcube indicates that the password has been changed successfully, therefore no errors are indicated. In reality the password remains the same, has not changed. Does anyone have any insight or experience with this type of problem?

Thanks, Greg
 
« Last Edit: June 08, 2012, 07:28:11 PM by ghowey »

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: cpanel password changer indicates successful password not changed
« Reply #1 on: June 09, 2012, 06:51:59 AM »
Did you setup all of the cPanel password plugin options?

Offline ghowey

  • Newbie
  • *
  • Posts: 8
Re: cpanel password changer indicates successful password not changed
« Reply #2 on: June 09, 2012, 02:27:33 PM »
Pardon my obvious mistake, apparently in my maturity I failed to read all of the requirements. Once I changed all the options to the correct values the cpanel password plugin works great! Let me say that we are a non-profit organization and have used another open-source web-mail client for several years, and it appears that Roundcube has far surpassed the nutty alternative in usability and configurable options. My Hat is off to you, and thank you very much for a very for a well rounded package.

Greg.

Offline adamgerken

  • Newbie
  • *
  • Posts: 2
Re: cpanel password changer indicates successful password not changed
« Reply #3 on: August 19, 2012, 02:19:48 PM »
I'm having this same exact issue but there was no resolution posted here... just that it now works.  I've looked through my config files over and over and can't seem to find what I'm missing.  I"ve read probably 10 different threads (over two days now) on this subject and no matter what I try I can't get it to work.  It says it changed but it doesn't... it even logs that it was changed.

I'm using Bluehost with cPanel 11.32.3 (build 21), roundcube 0.8.1, and cpanel 2.0 (the one that came with roundcube)  If I try the "new" cpanel.php used in all the threads that have success, I get an error message, as seen at the end of the error log file

ANY idea what's going on here?  Thanks!

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: cpanel password changer indicates successful password not changed
« Reply #4 on: August 19, 2012, 07:46:34 PM »
The cPanel port is incorrect it should be 2082. It may also not like your domain for password_cpanel_host. Try the server name (box457.bluehost.com) instead.
« Last Edit: August 19, 2012, 07:50:25 PM by SKaero »

Offline adamgerken

  • Newbie
  • *
  • Posts: 2
Re: cpanel password changer indicates successful password not changed
« Reply #5 on: August 19, 2012, 10:07:02 PM »
Thanks for the help... I thought I had tried both of those.  What I had wrong was using 2083 and SSL = true.  As soon as I went to 2082 and SSL = false it took right off!

Offline musicscore

  • Newbie
  • *
  • Posts: 7
Re: cpanel password changer indicates successful password not changed
« Reply #6 on: August 30, 2012, 04:58:46 PM »
I cannot get it to work. I did every change mention in this post. The only difference is that I use the x3 Cpanel theme. I only can use x3 or rvskin. Please help.

Here is the bottom of my main.inc.php



// Password Plugin options
// -----------------------
// A driver to use for password change. Default: "sql".
// See README file for list of supported driver names.
$rcmail_config['password_driver'] = 'cPanel';

// 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'] = 0;

// Require the new password to contain a letter and punctuation character
// Change to false to remove this check.
$rcmail_config['password_require_nonalpha'] = false;

// Enables logging of password changes into logs/password
$rcmail_config['password_log'] = false;

// cPanel Driver options
// --------------------------
// The cPanel Host name
$rcmail_config['password_cpanel_host'] = '*mydomain.nl*';

// The cPanel admin username
$rcmail_config['password_cpanel_username'] = '*myuser*';

// The cPanel admin password
$rcmail_config['password_cpanel_password'] = '*mypassword*';

// The cPanel port to use
$rcmail_config['password_cpanel_port'] = 2082;


// Using ssl for cPanel connections?
$rcmail_config['password_cpanel_ssl'] = false;

// The cPanel theme in use
$rcmail_config['password_cpanel_theme'] = 'x3';



Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: cpanel password changer indicates successful password not changed
« Reply #7 on: August 30, 2012, 05:24:34 PM »
Is your cPanel language English?

Offline musicscore

  • Newbie
  • *
  • Posts: 7
Re: cpanel password changer indicates successful password not changed
« Reply #8 on: August 31, 2012, 11:27:01 AM »
Thank you SKaero for your answer
.
Yes, I set the language of cPanel and Roundcube (version 0.7.3) to English.

Musicscore
« Last Edit: August 31, 2012, 11:29:55 AM by musicscore »

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: cpanel password changer indicates successful password not changed
« Reply #9 on: August 31, 2012, 08:23:06 PM »
Whats in your error log?

Offline musicscore

  • Newbie
  • *
  • Posts: 7
Re: cpanel password changer indicates successful password not changed
« Reply #10 on: September 01, 2012, 09:10:54 AM »
I find this entry :

[01-Sep-2012 08:07:08 -0500]: PHP Error: Password plugin: Unable to open driver file /home/devinfow/public_html/webmail/plugins/password/drivers/cPanel.php in /home/devinfow/public_html/webmail/plugins/password/password.php on line 231 (POST /?_task=settings&_action=plugin.password-save?_task=&_action=)

Offline musicscore

  • Newbie
  • *
  • Posts: 7
Re: cpanel password changer indicates successful password not changed
« Reply #11 on: September 01, 2012, 10:50:30 AM »
I tryed the password plugin found in roundcube 0.8.1. Same errors :

[01-Sep-2012 09:47:35 -0500]: PHP Error: Failed to load plugin file /home/devinfow/public_html/webmail/plugins/password/password.php in /home/devinfow/public_html/webmail/program/include/rcube_plugin_api.php on line 196 (GET /?_task=settings&_action=keep-alive&_remote=1&_unlock=0&_=1346510845278)

[01-Sep-2012 09:48:46 -0500]: PHP Error: Password plugin: Unable to open driver file (/home/devinfow/public_html/webmail/plugins/password/drivers/cPanel.php) in /home/devinfow/public_html/webmail/plugins/password/password.php on line 246 (POST /?_task=settings&_action=plugin.password-save?_task=&_action=)

Please help

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: cpanel password changer indicates successful password not changed
« Reply #12 on: September 01, 2012, 11:46:15 AM »
Ah sorry I should have caught this, change $rcmail_config['password_driver'] to "cpanel" all lowercase.

Offline musicscore

  • Newbie
  • *
  • Posts: 7
Re: cpanel password changer indicates successful password not changed
« Reply #13 on: September 02, 2012, 06:28:03 AM »
Yes yes yes, it works.  ;D
Thanks SKaero for your help.


Offline gsw85

  • Newbie
  • *
  • Posts: 1
Re: cpanel password changer indicates successful password not changed
« Reply #14 on: November 18, 2012, 05:26:41 AM »
Hi, I am using roundcube 0.8.1 and it is hosted in bluehost. I have problems with this plugins is not working, I have the following setting:


$rcmail_config['password_cpanel_host'] = 'mydomain.com';

// The cPanel admin username
$rcmail_config['password_cpanel_username'] = 'box847.bluehost.com';

// The cPanel admin password
$rcmail_config['password_cpanel_password'] = 'cpanel_login_passwor';

// The cPanel port to use
$rcmail_config['password_cpanel_port'] = 2082;

// Using ssl for cPanel connections?
$rcmail_config['password_cpanel_ssl'] = false;

// The cPanel theme in use
$rcmail_config['password_cpanel_theme'] = 'x3';



I'm not anble to get this plugins works, if anyone can help, really appreciated