Roundcube Community Forum

 

Pretty "Change Password" patch/module for v0.1RC1(07-7-3), +cPanel, +md5

Started by oslad, June 30, 2006, 10:51:23 PM

Previous topic - Next topic

simoesp

 :-\ i'll see what i can do for it :P

Regards
Pedro SimÃÃ,µes
--------------------------------------------------------
**                       S.I.M.O.E.S.P.                       **
--------------------------------------------------------

mbx5nitro

Ok how do i install this patch. I get all thing code in a page when i click one of those links or the download one. Waht do i need to do to install it.
I am on windows XP but my server is Linux but no shell access

oslad

you can goto: http://oslad.com/component/option,com_remository/Itemid,19/func,select/id,2/

and click the download icon() from right side of Patched Roundcube Mail cvs-20060413 to download it.

after that, modify config on XP, see how to config for this patch.
when finish cofig, just upload it to your server.

if you keep insisting on using Change Password Patch for Roundcube Mail on XP, "WinPatch" is recommended.

xoqez

I have spoken with a friend of mine who is a developer and he is going to have a look if it is possible to change an Imap password.

Changing it in the database posses some issues with if they are using webmail sometimes and a mail client others.

You can create pages based on your control panel or mail server to change the password. I saw there was a document on integrating roundcube with cpanel which when you logged in you could change these settings. This solves the problem for cpanel users.

I would be careful using this patch unless your mail is based on webmail ONLY

Hopefully there will be a IMAP command to change the password. I have been looking for this for a project I am working on at the moment so when I find it I will let you know
--
Venond; using roundcube since June 2006
www.venond.com

oslad

QuoteChanging it in the database posses some issues with if they are using webmail sometimes and a mail client others.

this patch will work correctly with webmail and other clients(such as Evolution, Thunderbird, Outlook, etc), as it change IMAP password and RCmail password both. the limit is IMAP password need store in mysql.

QuoteYou can create pages based on your control panel or mail server to change the password.

it's for admin, and this patch for logined user self only.

ledhed

I have downloaded roundcubemail-cvs-20060413-cp.tar.gz and extracted it.

When I try to apply the patch "rcmail-20060413-cp.patch" I get the following:

patching file index.php
Reversed (or previously applied) patch detected! Assume -R? [n]

Does this mean the patch has already been applied?

I assumed this and continued with my installation, but get an error when I try to access roundcube.

Firefox returns this error:
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /var/www/roundcube/program/include/main.inc on line 1170


Any Ideas?

Thanks

oslad

yeah, roundcubemail-cvs-20060413-cp.tar.gz is Patched!

simoesp

you can dig in this site for RFC's but i've googled and didn't found nothing special :S.... so... it's not plausible
http://www.rfc-editor.org/cgi-bin/rfcsearch.pl
--------------------------------------------------------
**                       S.I.M.O.E.S.P.                       **
--------------------------------------------------------

xoqez

wait so does it now change the password on the IMAP server?
--
Venond; using roundcube since June 2006
www.venond.com

oslad

Quote from: xoqez wait so does it now change the password on the IMAP server?

The veryyyyyy basic task of this patch is "change the password on the IMAP server" since release.

-------------------------------
Configuration
# vi config/db.inc.php
// Add rows below, and modify to suit you.
$rcmail_config['db_mail_dsn'] = 'mysql://dbuser:your_passwd@localhost/mail_db';
$rcmail_config['db_mail_users_table'] = 'accountuser';
$rcmail_config['db_mail_user_field'] = 'username';
$rcmail_config['db_mail_passwd_field'] = 'password';
$rcmail_config['db_mail_passwd_type'] = '';       // ''-- for Plaintext, 'ENCRYPT', 'PASSWORD'

lasombra

I'm having the exact same problem. Any ideas on how to solve it?

Quote from: ledhed I have downloaded roundcubemail-cvs-20060413-cp.tar.gz and extracted it.

When I try to apply the patch "rcmail-20060413-cp.patch" I get the following:

patching file index.php
Reversed (or previously applied) patch detected! Assume -R? [n]

Does this mean the patch has already been applied?

I assumed this and continued with my installation, but get an error when I try to access roundcube.

Firefox returns this error:
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /var/www/roundcube/program/include/main.inc on line 1170


Any Ideas?

Thanks

oslad

OK, again,
roundcubemail-cvs-20060413-cp.tar.gz is Patched "rcmail-20060413-cp.patch" already, you don't need apply the patch again.

lasombra

Yes, I know that.
I didn't try to "re-patch" it.
I've just uncompress it and the problem occurs.
Is there any way to apply this patch on the SVN trunk?

oslad

QuoteFirefox returns this error:
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /var/www/roundcube/program/include/main.inc on line 1170

Any Ideas?

sorry, so careless! :-[

To solve it, please swap line 1170 and line 1169.(and the files is updated)

QuoteIs there any way to apply this patch on the SVN trunk?
this patch only for roundcubemail-cvs-20060413.
for SVN trunk, you need hack it. i'll make a patch for next cvs version.

ric

Patched files and all works well until I try to change the password, onceI click SAVE it comes up 'An error occurred will saving'. Any ideas, using Hmailserver.