![]() |
[HowTo] Password Change Roundcube 0.5 (and 0.4.2) - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Contributions Area (/forum-40.html) +--- Forum: Howtos (/forum-41.html) +--- Thread: [HowTo] Password Change Roundcube 0.5 (and 0.4.2) (/thread-11889.html) |
[HowTo] Password Change Roundcube 0.5 (and 0.4.2) - Sweil - 10-17-2010 09:52 AM Update! Tested with Roundcube 0.5 & 0.5.1 => works! Update! New driver for ispCP 1.0.7 and newer! As the previous Version is not working for 0.4.2 I made up a new (more robust) one, based on roundube's default password plugin. 1. Download script from attachment depending on your ispCP version: - for 1.0.7 and newer: ispcp-from-1.0.7.php (beta) - for older versions: ispcp-to-1.0.6.php 2. Rename file to "ispcp.php" and upload to "[roundcube]/plugins/password/drivers/". 3. Open "[roundcube]/plugins/password/config.inc.php" and change 'password_driver' to "ispcp": PHP Code: $rcmail_config['password_driver'] = 'ispcp'; 4. Set up the MySQL-Login by changing PHP Code: $rcmail_config['password_db_dsn'] = 'mysql://roundcube:password@localhost/ispcp'; and adding PHP Code: // ispCP Driver options 5. Change any other options you need (e.g. 'password_confirm_current' or 'password_minimum_length'). 6. Enable the plugin in "[roundcube]/config/main.inc.php" by modifying the 'plugins' option like this: PHP Code: $rcmail_config['plugins'] = array('password'); RE: [HowTo] Password Change Roundcube 0.4.2 - fulltilt - 10-18-2010 07:39 PM hm - the password changer did not work for me ... i'm able to login, receive and sent mails but if i try to change password: Code: new password not saved ### edit ### i fixed permissions for roundcube mysql user: Code: mysql -p now it's working! RE: [HowTo] Password Change Roundcube 0.4.2 - Sweil - 10-19-2010 01:15 AM Thx for testing. I added a note about the mysql-permissions in the howto. RE: [HowTo] Password Change Roundcube 0.4.2 - Canabalooza - 11-27-2010 02:43 PM This doesn't seem to be working for me on the new 1.0.7 final release. When resetting the password via roundcube 0.4.2 the email password does not update and unless you login to the ispcp mysql database to change the status field back to "OK" you are unable to edit the account via the admin panel. The account still logs in ok but using the old password. I've tested this with full permissions for the roundcube user as well as with only update access to the mail_pass and status fields. I have also verified my database keys and redone all of the settings on two separate servers. Any help would be greatly appreciated. RE: [HowTo] Password Change Roundcube 0.4.2 - gandalf4711 - 11-28-2010 03:18 AM Hello together, I had the same problem. I used some other pw changer before, that doesn't worked at all. With that code, it tells me that the pw is changed, but when I try to log in, it only works with the old pw. In the ispcp db, mail_users, the status is set to 'change'. I had to run the ISPCP Demon Tool to set the mail_users Status to 'OK' Then the pw is changed ... any suggestions regards RE: [HowTo] Password Change Roundcube 0.4.2 - kr00ft - 11-30-2010 05:49 AM Hello, I have the same problem, in webmail the status is set to 'change', in the mysql table the users pass is changed, but in webmail login the old password work, new not. Any suggestions? RE: [HowTo] Password Change Roundcube 0.4.2 - Sweil - 11-30-2010 10:33 PM Hi Folks, ispCP 1.0.7 changes the way how a new password is set. So this HowTo will only work for versions <= 1.0.6. As I didn't upgrade yet, I won't fix it within the next weeks. Edit: There is an update in first post. RE: [HowTo] Password Change Roundcube 0.4.2 - kr00ft - 12-01-2010 02:11 AM (11-30-2010 10:33 PM)Sweil Wrote: Hi Folks, ispCP 1.0.7 changes the way how a new password is set. So this HowTo will only work for versions <= 1.0.6. As I didn't upgrade yet, I won't fix it within the next weeks. Hi, ![]() Thanks, I'll be waiting ![]() RE: [HowTo] Password Change Roundcube 0.4.2 - Sweil - 12-05-2010 03:19 AM Update in first post. Happy testing! RE: [HowTo] Password Change Roundcube 0.4.2 - kr00ft - 12-05-2010 04:32 AM Hi, I have tested, don't work ![]() Same problem. Hey, the log in syslog: === Dec 4 18:37:35 hst01 ispcp_daemon[11394]: child 11394 started! Dec 4 18:37:35 hst01 ispcp_daemon[11394]: send_line(): socket write error: Connection reset by peer Dec 4 18:37:36 hst01 authdaemond: stopping authdaemond children Dec 4 18:37:36 hst01 authdaemond: modules="authuserdb authpam", daemons=5 Dec 4 18:37:36 hst01 authdaemond: Installing libauthuserdb Dec 4 18:37:36 hst01 authdaemond: Installation complete: authuserdb Dec 4 18:37:36 hst01 authdaemond: Installing libauthpam Dec 4 18:37:36 hst01 authdaemond: Installation complete: authpam Dec 4 18:37:36 hst01 ispcp_daemon[4218]: EINTR was received! continue; === |