« Return to Thread: ChangePass- Password change was not successful! but yes

Re: ChangePass- Password change was not successful! but yes

by Paul Lesniewski :: Rate this Message:

Reply to Author | View in Thread

Please use in-line posting instead of top-posting.

On Tue, May 19, 2009 at 3:14 PM, moncho <monflomai@...> wrote:

> Under the POP / IMAP, I make the following
> # telnet localhost 106
> Trying 127.0.0.1...
> Connected to localhost (127.0.0.1).
> Escape character is '^]'.
> 200 localhost poppassd v1.6a hello, who are you?
> user USER
> 200 your password please.
> pass PASSWORD
> 200 your new password please.
> newpass PASSWORD_NEW
> Changing password for user USER.
> passwd: all authentication tokens updated successfully.
>
> In my /var/log/messages
> passwd(pam_unix)[24847]: password changed for USER
>
> And in Squirrelmail
> Password change was not successful!
>
> I think the plugins "change_pass" is not receiving the correct password
> change successful.
>
> In this part of the code "functions.php" is waiting for something 200?

Looks like it.  Funny thing with your service is that it does give 200
responses for everything *except* the final success message.  I'd
consider that a bug in whatever service you have implemented.

> if(!preg_match('/^2\d\d/', $result)) {
>                                 sq_change_text_domain('change_pass');
>                                 $error_messages[] = _("Password change was
> not successful!"); <-----
> This is the error I get
>
> ________________________________
> De: Paul Lesniewski <paul@...>
> Para: Squirrelmail Plugins Mailing List
> <squirrelmail-plugins@...>
> Enviado: martes, 19 de mayo, 2009 13:36:07
> Asunto: Re: [SM-PLUGINS] ChangePass- Password change was not successful! but
> yes
>
> On Tue, May 19, 2009 at 10:18 AM, moncho <monflomai@...> wrote:
>> Hello list, I'm new.
>> Recently I installed the squirrelmail on a Centos 5, I also installed the
>> plugins Chang_passd
>
> Are you sure that's the name?  Please be exact.
>
>> and Plugins Compatibility
>
> Maybe your problem is listed here:
>
> http://squirrelmail.org/wiki/CompatibilityDependencies
>
>>, I have a PC with centos 5 for
>> webmail and a Red Hat EL 3 (if it is already old) server as a POP / IMAP,
>> the user authenticates from webmail and everything is going well.
>>
>> The problem is to change the password, the user enters the old password,
>> the
>> new and confirmation, and I get a message "Password change was not
>> successful!" but I notice in the log server POP / IMAP "passwd (pam_unix)
>> [6960]: password changed for user"
>>
>> What could be the problem that the plugins do not receive the password
>> change successful?
>>
>> Greetings and thanks for its kind attention.
>

--
Paul Lesniewski
SquirrelMail Team
Please support Open Source Software by donating to SquirrelMail!
http://squirrelmail.org/donate_paul_lesniewski.php

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
-----
squirrelmail-plugins mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-plugins@...
List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins

 « Return to Thread: ChangePass- Password change was not successful! but yes