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

oslad

Quote from: diego I modify passwd.inc to support md5crypt password (like postfixadmin).


Thanks! diego

Jonn3



[GuS]


Thommy

Hi!

Here is a change-password-patch for the svn-trunk. It was build with r414 but it also works with the current r445!

Here you are: http://tiffy.rids.de/roundcubemail-svn-r414-passwd-patch.diff

The needed SQL query for password update can be configured in "config/main.inc.php". To do this, search and edit the following section:

Quote// Query to change passwords from the user database
// %u will be replaced with the current username for login.
// %p will be replaced with the current password for login.
// %n will be replaced with the new password for login.
$rcmail_config['virtpasswd_query'] = '';

Then it should read something like:

Quote$rcmail_config['virtpasswd_query'] = 'UPDATE mail.vmailboxes SET mbox_passwd = MD5(\'%n\') WHERE mbox_username = \'%u\' AND mbox_passwd = MD5(\'%p\');';

Don't forget to set the database rights correctly for the roundcubemail user... ;)

Have fun!

Cheers,
-Thomas

nejc

Hi

Firstly just let me say the webmail rocks! :o

secondly, i have a problem... I am using BlueTabby template, and this change password patch, the webmail is version beta2... Now in BlueTabby template its like the change password patch isnt installed... Can someone tell me what to do, that this will work also in BlueTabby? in template default it works fine...

thanks

EqUaTe

Quote from: IQplay Thanks for your work! jeeth.

which now can accept the imap password change through the port 106
It's POP/IMAP, not only IMAP

let me know if it is usefull.at least, it is not work for me now. i've found your code is from SquirrelMail directly, but some function's define is missing.

i'll try to port it for next release of RoundCube mail, so this patch can change password for most IMAP/POP mail server.

THANK YOU, JEETH!


Have you managed to make any progress with this?

I'd love to integrate it into my setup, which is presently using svn rev 445..

I'd appreciate any updates :)

Thanks

Thommy

Hi again!

I have seen that some people have tried to find a patch on my server for the new SVN trunk... :P

So, here it is...for SVN trunk #486: http://tiffy.rids.de/roundcubemail-svn-r486-passwd-patch.diff

Cheers,
-Thomas

samvertex

Hi

Can someone do this patch for r498 too


I am using ... qmail , vpopmail
roundcubemail-0.1beta2-courierpassd

Using this one for the password change ... but i wanted to switch to a new SVN as i like some new features.

Thanks




TTr0

hello!

Problem Query :'(

logs/errors

DB Error: no such field Query: UPDATE users SET crypt = ENCRYPT('test') WHERE id='ab@exemple.ru' OR (id='ab@exemple.ru' AND domain_name = '') [nativecode=1054 ** Unknown column 'domain_name' in 'where clause'] in /usr/local/www/..../include/rcube_db.inc on line 479

User table DB
-----------+------------------+------+-----+----------------------------+-------+
| Field  | Type      | Null | Key | Default          | Extra |
+-----------+------------------+------+-----+----------------------------+-------+
| id    | varchar(64)   | NO | PRI |              |   |
| crypt  | varchar(64)   | NO |
 
...


mysql> select id,crypt from users;
+----------+---------------++
| id   | crypt    |
+----------+---------------+
| ab   | VfRDtKAGIkVX6 |
...

MTA: Exim+courier-imap

HELP People!!

jaigo

Quote from: kmikze Hello,

when trying to change my passwd, i got this error:
DB Error: DB Error: no such field Query: UPDATE users SET password = ENCRYPT('test') WHERE email='[email protected]' OR (email='[email protected]' AND domain_name = '') [nativecode=1054 ** Unknown column 'domain_name' in 'where clause'] in /var/www/www-root/roundcubemail/program/include/rcube_db.inc on line 479


First I want they excuse my english, not my language. Also I had that error, the solution was to change in that line the row 'domain_name' by the real name of the row, in my case: 'domain_name' by 'email'

Greetings

Satrap

Hello,

I have some problems with patched roundcube. Anytime I change password a get a success message:


but the password is the same. It doesn't change at all. Does anyone know why?

EDIT

After some modifications in rucube/program/steps/settings/passwd.inc everything working now.

 ;D

plistkin

though, it took me a while...
but now... works like a charm...

j99

Anyone managed to put this patch on latest SVN trunk ? I tried using the patch for SVN trunk #486 by Thommy and all patched OK except file program/include/main.inc

Here's the rejected part:

***************
*** 1361,1366 ****
 
     // USER SETTINGS
     'userprefs' => 'rcmail_user_prefs_form',
     'itentitieslist' => 'rcmail_identities_list',
     'identityframe' => 'rcmail_identity_frame',
     'identityform' => 'rcube_identity_form',
--- 1361,1367 ----
 
     // USER SETTINGS
     'userprefs' => 'rcmail_user_prefs_form',
+    'userpasswd' => 'rcmail_passwd_form',
     'itentitieslist' => 'rcmail_identities_list',
     'identityframe' => 'rcmail_identity_frame',
     'identityform' => 'rcube_identity_form',


This was part of function rcube_xml_command which does not exist anymore... Anyone has any idea what to do?
I really like this patch and I used it in older versions without problems. But in this new version I can't make it work and
also don't have skills to do it..

Thanx!

rockwilda

Hallo!

Does this patch work with roundcube rc1?

best regards,
nico