Dear All, I have just started roundcubemail on CentOS 5.5 with all the prerequisites of RoundCube Mail. I have configured password change plug-in to work with poppassd.
Now after correct configuration, when I try to change the password, it changes the password but gives me an error message "Could not save new password"
*Er. Hiren V. Majithiya* Engineer (System Administration), Information System Department, M/s GNFC Ltd. *Ph:* 02642-662914
Please don't print this e-mail unless you really need to. Save a tree if possible.
########################################################################## # Legal Disclaimer : mail.gnfc.in # # ------------------------------------ # # This message may contain confidential and/or privileged information. # # If you are not the addressee or authorized to receive this for the # # addressee, you must not use, copy, disclose or take any action based # # on this message or any information herein. If you have received this # # message in error, please advise the sender immediately by reply e-mail # # and delete this message. # # # # Thank you for your cooperation # ##########################################################################
List info: http://lists.roundcube.net/users/ BT/9b404e9e
Le 15.10.2010 07:45, Hiren V. Majithiya a écrit :
Dear All, I have just started roundcubemail on CentOS 5.5 with all the prerequisites of RoundCube Mail. I have configured password change plug-in to work with poppassd.
Now after correct configuration, when I try to change the password, it changes the password but gives me an error message "Could not save new password"
Please help.
List info: http://lists.roundcube.net/users/ BT/e81cb6e8
hello A.L.E.C
you know me, I had already worry about the plugin does not work I install the plugin on my password roundcubemail more poppasswd more open the firewall and am having the same error as my running mate. ie it does not work at least in CentOS
nb : <anonymous>
--- 8< --- detachments --- 8< --- The following attachments have been detached and are available for viewing. http://detached.gigo.com/rc/7w/CfFzpUUG/signature.asc Only click these links if you trust the sender, as well as this message. --- 8< --- detachments --- 8< ---
List info: http://lists.roundcube.net/users/ BT/9b404e9e
On 15.10.2010 17:52, fakessh@fakessh.eu wrote:
Now after correct configuration, when I try to change the password, it changes the password but gives me an error message "Could not save new password"
you know me, I had already worry about the plugin does not work I install the plugin on my password roundcubemail more poppasswd more open the firewall and am having the same error as my running mate. ie it does not work at least in CentOS
So we need to debug file plugins/password/drivers/poppassd.php
Find:
else { $poppassd->writeLine("newpass ". $passwd); $result = $poppassd->readLine(); $poppassd->disconnect(); if (!preg_match('/^2\d\d/', $result)) return format_error_result(PASSWORD_ERROR, $result); else return PASSWORD_SUCCESS; }
and add line:
print_r($result);
before:
$poppassd->disconnect();
BTW, I think this code needs small improvement, last if statement should looks like this:
if (preg_match('/^2\d\d/', $result)) return PASSWORD_SUCCESS; else return format_error_result(PASSWORD_ERROR, $result);
Le 15.10.2010 18:05, A.L.E.C a écrit :
On 15.10.2010 17:52, fakessh@fakessh.eu wrote:
Now after correct configuration, when I try to change the password, it changes the password but gives me an error message "Could not save new password"
you know me, I had already worry about the plugin does not work I install the plugin on my password roundcubemail more poppasswd more open the firewall and am having the same error as my running mate. ie it does not work at least in CentOS
So we need to debug file plugins/password/drivers/poppassd.php
Find:
else { $poppassd->writeLine("newpass ". $passwd); $result = $poppassd->readLine(); $poppassd->disconnect(); if (!preg_match('/^2\d\d/', $result)) return format_error_result(PASSWORD_ERROR, $result); else return PASSWORD_SUCCESS; }
and add line:
print_r($result);
before:
$poppassd->disconnect();
BTW, I think this code needs small improvement, last if statement should looks like this:
if (preg_match('/^2\d\d/', $result)) return PASSWORD_SUCCESS; else return format_error_result(PASSWORD_ERROR, $result);
so , many fatal error
I just tried the various plugins, I quote: pam poppassd chpasswd. failure on impossible to register the new name. what code cites that I work on the stable branch and I do not own this example
[root@r***** ~]# grep $poppassd->disconnect* /home/roundcubebeta/www/plugins/password/drivers/poppassd.php [root@r****** ~]# whell voila the code does not seem to work
--- 8< --- detachments --- 8< --- The following attachments have been detached and are available for viewing. http://detached.gigo.com/rc/3U/mm9pBQxj/signature.asc Only click these links if you trust the sender, as well as this message. --- 8< --- detachments --- 8< ---
List info: http://lists.roundcube.net/users/ BT/9b404e9e
On 15.10.2010 19:07, fakessh@fakessh.eu wrote:
so , many fatal error
I was referencing to svn-trunk code, which will not work with 0.4.2 (and older)....
I just tried the various plugins, I quote: pam poppassd chpasswd. failure on impossible to register the new name. what code cites that I work on the stable branch and I do not own this example
A was writing about this driver: http://trac.roundcube.net/browser/trunk/plugins/password/drivers/poppassd.ph...
See line 45. Add print_r($result); before this line.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Le 15.10.2010 19:20, A.L.E.C a écrit :
On 15.10.2010 19:07, fakessh@fakessh.eu wrote:
so , many fatal error
I was referencing to svn-trunk code, which will not work with 0.4.2 (and older)....
I just tried the various plugins, I quote: pam poppassd chpasswd. failure on impossible to register the new name. what code cites that I work on the stable branch and I do not own this example
A was writing about this driver: http://trac.roundcube.net/browser/trunk/plugins/password/drivers/poppassd.ph...
See line 45. Add print_r($result); before this line.
i add trunk r4097
always the same mistakes
List info: http://lists.roundcube.net/users/ BT/9b404e9e
On Fri, 15 Oct 2010 21:11:08 +0200, fakessh@fakessh.eu wrote:
i add trunk r4097
always the same mistakes
I don't understand, be more clear. Did you add print_r where I've said? What happens? Maybe try to replace print_r() with die();
I tried but not working.
*Er. Hiren V. Majithiya* Engineer (System Administration), Information System Department, M/s GNFC Ltd. *Ph:* 02642-662914
On 16-10-2010 11:54, A.L.E.C wrote:
On Fri, 15 Oct 2010 21:11:08 +0200, fakessh@fakessh.eu wrote:
i add trunk r4097
always the same mistakes
I don't understand, be more clear. Did you add print_r where I've said? What happens? Maybe try to replace print_r() with die();
Please don't print this e-mail unless you really need to. Save a tree if possible.
########################################################################## # Legal Disclaimer : mail.gnfc.in # # ------------------------------------ # # This message may contain confidential and/or privileged information. # # If you are not the addressee or authorized to receive this for the # # addressee, you must not use, copy, disclose or take any action based # # on this message or any information herein. If you have received this # # message in error, please advise the sender immediately by reply e-mail # # and delete this message. # # # # Thank you for your cooperation # ##########################################################################
List info: http://lists.roundcube.net/users/ BT/9b404e9e