ispCP - Board - Support
[HowTo] Password Changer Roundcube 0.3 Stable - 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 Changer Roundcube 0.3 Stable (/thread-7816.html)

Pages: 1 2 3 4 5 6 7 8 9


[HowTo] Password Changer Roundcube 0.3 Stable - TheCry - 09-10-2009 06:47 PM

Hi togehter,
here are the files to use the password changer for roundcube 0.3 stable.
Pleas read the wiki!
http://www.isp-control.net/documentation/doku.php?id=howto:mail:install_roundcube_for_webmail

The needed files are in this package!
Don't replace the files which are described in the wiki!
Only use this files!
Make a backup of the existing files!

Cu Sascha

Update...
I've edit the save_prefs.inc, because the script set the status to change...
That's not ok.. I'll correct it.


RE: Password Changer Roundcube 0.3 Stable - TheCry - 09-11-2009 05:42 PM

So...
I coded a password changer plugin for roundcube0.3...
You only unpack this to the plugin folder.
Then you need to copy the "config.inc.php.dist" in "config.inc.php".
Edit this file:
Code:
$rcmail_config['password_driver'] = 'sql';
$rcmail_config['password_db_dsn'] = 'mysql://roundcube:password@localhost/ispcp';
$rcmail_config['ispcp_db_pass_key'] = '';
$rcmail_config['ispcp_db_pass_iv'] = '';
Make the changes on your configuration.
You will find the keys in the "/var/www/ispcp/gui/include/ispcp-db-keys.php".

At least you need to activate the plugin in the " config/main.inc.php" of roundcube
Code:
$rcmail_config['plugins'] = array('ispcp_pw_changer');

The sqluser from Roundcube needs rights through the sql-table "mail_users" of the ispcp database!!!!

Have fun with it.

Cu Sascha


RE: Password Changer Roundcube 0.3 Stable - BeNe - 09-11-2009 05:50 PM

You are really crazy, man!
We talked yesterday about it and today is a Plugin online Big Grin

I will test it directly and give a feedback!
Thanks a lot

Greez BeNe
It works perfect!!! [Image: comp10.gif]
Thanks again for your fast and wonderfull work!

Greez BeNe


RE: Password Changer Roundcube 0.3 Stable - BeNe - 09-11-2009 09:33 PM

I updated the HowTo to the new RC-Version and replaced all the optional Patches with the Plugins.
--> http://www.isp-control.net/documentation/doku.php?id=howto:mail:install_roundcube_for_webmail

The PW-Changer works great!

Greez BeNe


RE: Password Changer Roundcube 0.3 Stable - oneil1 - 09-16-2009 01:38 AM

RE:
Make the changes on your configuration.
You will find the keys in the "/var/www/ispcp/gui/include/ispcp-db-keys.php".

Where can I find the file:/var/www/ispcp/gui/include/ispcp-db-keys.php

Is it unique to particular host, I am new to this forum but am having problems getting the password plugin to work for 0.3. I am using Hostmonster host.

Please help.


RE: Password Changer Roundcube 0.3 Stable - papazone - 09-22-2009 10:47 AM

HEllo i am stuck i have done everything but didn't get the meaning of

ispcp-db-keys.php this where i will get these keys from...


RE: Password Changer Roundcube 0.3 Stable - TheCry - 09-22-2009 03:33 PM

Use this:
Code:
find / -name ispcp-db-keys.php
Thena you will see the path to the file "ispcp-db-keys.php".
Open this file and copy the keys which are needed.


RE: Password Changer Roundcube 0.3 Stable - papazone - 09-23-2009 09:32 AM

I am really sorry i am not able to understand.. let clear you what i have done and what i am not getting...

Can you tell me easy step i have install the plugin.. activated but didn't got the isbn dbatase key how i can find in hostmonster server.. please help me ..

tell me once in clear steps.. i will be really thankful to you ... please...

Sumit
13 Gemini Designs


RE: Password Changer Roundcube 0.3 Stable - TheCry - 09-23-2009 03:52 PM

Ok..
I will give you a step by step tutorial... Smile

1. Change to the directory where you installed roundcube (e.g. /var/www/ispcp/gui/tools/cube/)
2. change into the subdirectory "plugins"
3. unpack the passwordchanger plugin (tar xfvz ispcp_pw_changer.tar.gz)
4. change to the new subdirectory ispcp_pw_changer
5. copy config.inc.php.dist to config.inc.php (cp config.inc.php.dist config.inc.php)
6. search fpr the file ispcp-db-keys.php (find / -name ispcp-db-keys.php) [e.g.
7. open the file ispcp-db-keys.php
8. copy the string "ispcp_db_pass_key" and "ispcp_db_pass_iv" through the file "config.inc.php" of the ispcp_pw_changer
9. open the main.inc.php of roundcube (e.g var/www/ispcp/gui/tools/cube/config/main.inc.php)
10. Edit the file this
Code:
$rcmail_config['plugins'] = array('ispcp_pw_changer');
to activate the plugin.
Ready..


RE: Password Changer Roundcube 0.3 Stable - papazone - 09-24-2009 10:04 AM

THanks but still i cannot find this key ... search fpr the file ispcp-db-keys.php (find / -name ispcp-db-keys.php) [e.g. .

and even my directory is not like this.. its public_html/mail/roundcube/ like this

Is their any process or method to find ispcp db pass it this key is in cpanel,
i understand everything except this where i will get these information i cannot find in my cpanel , $rcmail_config['ispcp_db_pass_key'] = '';
$rcmail_config['ispcp_db_pass_iv'] = ''; just guide me this i will be relaly thankful to you!