Roundcube Community Forum

Release Support => Requests => Topic started by: rmc2000 on June 12, 2008, 09:38:17 AM

Title: change password patch for v0.2-alpha with HMAILSERVER
Post by: rmc2000 on June 12, 2008, 09:38:17 AM
Anyone can make a patch with only change password patch that works with HMAILSERVER and last version of roundcube v0.2-alpha ?

Thanksss
Title: change password patch for v0.2-alpha with HMAILSERVER
Post by: rosali on August 02, 2008, 03:03:17 AM
Do you mean these patches?

http://www.roundcubeforum.net/showthread.php?t=2503&page=3&highlight=hmailserver

If so, adjust password en-/decryption method in passwd.inc

Code: [Select]

function rcmail_save_passwd($curpasswd, $newpasswd){
 global $CONFIG, $_SESSION, $DB, $RCMAIL;
  $hCOMApp = new COM("hMailServer.Application");
  $obAccount = $hCOMApp->Authenticate($_SESSION['username'], $RCMAIL->decrypt_passwd($_SESSION['password']));
  if ($obAccount->ValidatePassword($curpasswd)) {
    $obAccount->Password = $newpasswd;
    $obAccount->Save();
    $_SESSION['password'] = $RCMAIL->encrypt_passwd($newpasswd);
    return(1);
  }
}
Title: change password patch for v0.2-alpha with HMAILSERVER
Post by: piero.peruzzi on April 11, 2009, 04:59:15 AM
Hi everybody,

I'm new on this forum and i'm very poor on php.
Following your guidelines to set up a password-change function on Hmailserver , i went into troubles.

Can someone provide me a detailed guide to enable this funcyion on my system?

W2008 enterprise
mysql 5.1
hmailserver 4.4.3-b285
roundcube 0.2.1

all on the same machine

Please help me, please!

Thank you

Piero
Title: Pasword Change Patch for 0.2.2
Post by: SimonSez07 on June 22, 2009, 12:45:24 AM
As posted here (http://www.roundcubeforum.net/old-style-plug-ins/2503-vacation-assistent-forward-tab-password-tab-hmailserver-3.html#post19753), there is a new version of this patch. Likely the reason it was not working with your installation is because of your version of RoundCube. The old patch was *only* for v0.1.1 and the new version (http://www.sturmer.org/download/1478/rc-hmail_(0.2.2).zip) is only for v0.2.2.
Title: change password patch for v0.3.1 with HMAILSERVER
Post by: MSATHAAA444 on January 04, 2010, 11:27:30 AM
Does anyone have the patch for the latest release v0.3.1 of Roundcube with hMailServer for the change password? If so please post it immediately as I need it asap.
Title: change password patch for v0.2-alpha with HMAILSERVER
Post by: SKaero on January 04, 2010, 11:31:11 AM
This is now depricated use the hmail_password plugin from rosali you can find it here: http://code.google.com/p/myroundcube/