ChangePass- Password change was not successful! but yes

View: New views
10 Messages — Rating Filter:   Alert me  

ChangePass- Password change was not successful! but yes

by monflo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hello list, I'm new.
Recently I installed the squirrelmail on a Centos 5, I also installed the plugins Chang_passd and Plugins Compatibility, 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.

Moncho


------------------------------------------------------------------------------
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

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

by Paul Lesniewski :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

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

by monflo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
The exact plugin and vesion is change_pass-3.0-1.4.0.tar.gz
I have
Compatibility 2.0.14

Moncho


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


------------------------------------------------------------------------------
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

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

by monflo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
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?

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


------------------------------------------------------------------------------
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

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

by Paul Lesniewski :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

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

by monflo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

>De:
Paul Lesniewski <paul@...>
>Para: Squirrelmail Plugins Mailing List <squirrelmail-plugins@...>
>Enviado: martes, 19 de mayo, 2009 17:29:17
>Asunto: Re: [SM-PLUGINS] ChangePass- Password change was not successful! but yes

>......
>> 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.
>

You said that poppassd installed has the error?
What is the "poppassd" that I should install?

>> 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
>
>


------------------------------------------------------------------------------
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

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

by Mike Cappella-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 5/19/2009 3:29 PM, Paul Lesniewski wrote:

> On Tue, May 19, 2009 at 3:14 PM, moncho  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

The problem is here:
>> Changing password for user USER.
    ^^^

A lowercasing of the word "Changing" needs to occur in poppassd.c (of
poppassd @ ftp://netwinsite.com/pub/poppassd/poppassd.cpoppassd.c):


/* Prompt strings expected from the "passwd" command. If you want
  * to port this program to yet another flavor of UNIX, you may need to add
  * more prompt strings here.
  *
  * Each prompt is defined as an array of pointers to alternate
  * strings, terminated by an empty string. In the strings, '*'
  * matches any sequence of 0 or more characters. Pattern matching
  * is forced to lower case so enter only lower case letters.
  */

static char *P1[] =
    {
      "password: ",
      "changing password for *\nenter old password: ",

       ^^^

>> 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.

It actually does:

     syslog (LOG_ERR, "password changed for %s", user);
     WriteToClient ("200 Password changed, thank-you.")


>
>> 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
>>

------------------------------------------------------------------------------
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

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

by monflo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
I don't understand, what I need to solve the problem?


De: MrC <lists-squirrelmail@...>
Para: Squirrelmail Plugins Mailing List <squirrelmail-plugins@...>
Enviado: martes, 19 de mayo, 2009 18:02:05
Asunto: Re: [SM-PLUGINS] ChangePass- Password change was not successful! but yes

On 5/19/2009 3:29 PM, Paul Lesniewski wrote:

> On Tue, May 19, 2009 at 3:14 PM, moncho  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

The problem is here:
>> Changing password for user USER.
    ^^^

A lowercasing of the word "Changing" needs to occur in poppassd.c (of
poppassd @ ftp://netwinsite.com/pub/poppassd/poppassd.cpoppassd.c):


/* Prompt strings expected from the "passwd" command. If you want
  * to port this program to yet another flavor of UNIX, you may need to add
  * more prompt strings here.
  *
  * Each prompt is defined as an array of pointers to alternate
  * strings, terminated by an empty string. In the strings, '*'
  * matches any sequence of 0 or more characters. Pattern matching
  * is forced to lower case so enter only lower case letters.
  */

static char *P1[] =
    {
      "password: ",
      "changing password for *\nenter old password: ",

      ^^^

>> 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.

It actually does:

    syslog (LOG_ERR, "password changed for %s", user);
    WriteToClient ("200 Password changed, thank-you.")


>
>> 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
>>

------------------------------------------------------------------------------
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


------------------------------------------------------------------------------
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

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

by Seth Randall-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

moncho wrote:
> I don't understand, what I need to solve the problem?
>

It will depend on which poppassd program your password server is running
to change the password. You may need to upgrade the program or change to
a different one or possibly compile a change to the current one. You
didn't say which daemon you were using, so until we know that, we can't
be of much help.

Since the output you listed says 1.6a, I'm going to assume you are using
  Pawel Krawczyk's version. That version has been updated to 1.8.5, so I
would suggest getting that first and seeing if it corrects the invalid
output issue. It can be found at
http://ipsec.pl/meta/pawel-krawczyk-projekty-open-source.html (as listed
in the README for change_pass).

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
-----
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

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

by monflo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Thank you very much Mr. Randall, his assistance was of great use, and to the proper functioning of the plugin.

I think we should attach a note in the README of the plugin change_pass to refer to the appropriate poppassd.

Again thank you very much everyone for the help, now I'm very happy :-)

Moncho


De: Seth Randall <indiri69@...>
Para: Squirrelmail Plugins Mailing List <squirrelmail-plugins@...>
Enviado: miércoles, 20 de mayo, 2009 18:24:18
Asunto: Re: [SM-PLUGINS] ChangePass- Password change was not successful! but yes

moncho wrote:
> I don't understand, what I need to solve the problem?
>

It will depend on which poppassd program your password server is running
to change the password. You may need to upgrade the program or change to
a different one or possibly compile a change to the current one. You
didn't say which daemon you were using, so until we know that, we can't
be of much help.

Since the output you listed says 1.6a, I'm going to assume you are using
  Pawel Krawczyk's version. That version has been updated to 1.8.5, so I
would suggest getting that first and seeing if it corrects the invalid
output issue. It can be found at
http://ipsec.pl/meta/pawel-krawczyk-projekty-open-source.html (as listed
in the README for change_pass).



------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
-----
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