Author Topic: Pretty "Change Password" patch/module for v0.1RC1(07-7-3), +cPanel, +md5  (Read 210049 times)

oslad

  • Guest
Re: A pretty "Change Password" patch for Roundcube [Update to v0.1-beta2!]
« Reply #60 on: November 14, 2006, 01:06:24 AM »
Quote from: diego

I modify passwd.inc to support md5crypt password (like postfixadmin).


Thanks! diego

Offline Jonn3

  • Jr. Member
  • **
  • Posts: 23
Re: A pretty "Change Password" patch for Roundcube [Update to v0.1-beta2!]
« Reply #61 on: November 28, 2006, 03:52:12 AM »
Will this patch work with roundcube svn?

oslad

  • Guest
Re: A pretty "Change Password" patch for Roundcube [Update to v0.1-beta2!]
« Reply #62 on: November 28, 2006, 07:47:08 PM »
No! It's a patch, not a module. so, sorry!

Offline [GuS]

  • Newbie
  • *
  • Posts: 1
Re: A pretty "Change Password" patch for Roundcube [Update to v0.1-beta2!]
« Reply #63 on: December 29, 2006, 08:59:10 AM »
Could you please do something like this for SVN?

Thanks.

Offline Thommy

  • Newbie
  • *
  • Posts: 2
Re: A pretty "Change Password" patch for Roundcube [Update to v0.1-beta2!]
« Reply #64 on: January 03, 2007, 06:30:53 PM »
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

Offline nejc

  • Newbie
  • *
  • Posts: 3
Re: A pretty "Change Password" patch for Roundcube [Update to v0.1-beta2!]
« Reply #65 on: January 05, 2007, 09:39:55 AM »
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

Offline EqUaTe

  • Newbie
  • *
  • Posts: 1
Re: A pretty "Change Password" patch for Roundcube [Update to v0.1-beta2!]
« Reply #66 on: February 15, 2007, 12:15:45 PM »
Quote from: IQplay
Thanks for your work! jeeth.

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

Code: [Select]
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

Offline Thommy

  • Newbie
  • *
  • Posts: 2
Re: A pretty "Change Password" patch for Roundcube [Update to v0.1-beta2!]
« Reply #67 on: February 19, 2007, 04:32:12 PM »
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

Offline samvertex

  • Newbie
  • *
  • Posts: 5
Re: A pretty "Change Password" patch for Roundcube [Update to v0.1-beta2!]
« Reply #68 on: February 25, 2007, 07:43:24 PM »
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




Offline TTr0

  • Newbie
  • *
  • Posts: 1
Re: A pretty "Change Password" patch for Roundcube [Update to v0.1-beta2!]
« Reply #69 on: February 28, 2007, 02:17:08 AM »
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!!

Offline jaigo

  • Newbie
  • *
  • Posts: 1
Re: A pretty "Change Password" patch for Roundcube [Update to v0.1-beta2!]
« Reply #70 on: March 03, 2007, 12:13:13 AM »
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='kmikze@fragtime.net' OR (email='kmikze@fragtime.net' 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

Offline Satrap

  • Newbie
  • *
  • Posts: 1
Re: A pretty "Change Password" patch for Roundcube [Update to v0.1-beta2!]
« Reply #71 on: March 06, 2007, 04:58:48 AM »
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

Offline plistkin

  • Newbie
  • *
  • Posts: 1
Re: A pretty "Change Password" patch for Roundcube [Update to v0.1-beta2!]
« Reply #72 on: March 13, 2007, 04:02:40 AM »
though, it took me a while...
but now... works like a charm...

Offline j99

  • Newbie
  • *
  • Posts: 1
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!

Offline rockwilda

  • Jr. Member
  • **
  • Posts: 35
Hallo!

Does this patch work with roundcube rc1?

best regards,
nico