Date: Mon, 29 Jul 2002 05:57:20 -0400 (EDT) From: Jim Weeks <jim@jwweeks.com> To: Calvin NG <calvinng@brel.com> Cc: freebsd-stable@FreeBSD.ORG Subject: Re: 4.6 > poppassd fails Message-ID: <20020729055054.V1094-100000@veager.jwweeks.com> In-Reply-To: <20020729081403.GC79591@brel.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks Calvin,
That was easy enough ;-) Another strange thing for you, this seems to
have been corrected in the qpopper port.
/usr/ports/mail/qpopper/files/extra-patch-password::poppassd.c
static char *P4[] =
{
+ "passwd: updating the database...\npasswd: done ", /* FreeBSD */
+ "nis password has been changed * ", /* FreeBSD NIS */
"password changed. ", /* shadow */
"password changed ", /* smb */
""
Good day,
--
Jim
On Mon, 29 Jul 2002, Calvin NG wrote:
> Greetings,
>
> the response from the operating system with regards to
> change password has changed,
>
> the response used to be
> "rebuilding the database..."
>
> now, it is
> "updating the database..."
>
> this causes the poppassd to think that the changing of password
> has failed, because the response does not match any "success"
> response it is looking for.
>
> edit the .c code, modify "static char *P4[] =" (around line 178)
> accordingly, and you are back in business.
>
> Regards,
> /calvin
>
> lines with :> are quotes from Jim Weeks's email
> :> Good morning,
> :>
> :> This is definitely a new problem, I have verified that up through 4.5 it
> :> didn't exist, at least for me. I have checked the archives and can't seem
> :> to find anything. What is really strange is that the password is actually
> :> changed, but the error indicates that it is not. A point in the right
> :> direction would be appreciated.
> :>
> :> $ telnet 127.0.0.1 106
> :> Trying 127.0.0.1...
> :> Connected to localhost.
> :> Escape character is '^]'.
> :> 200 poppassd v1.2 hello, who are you?
> :> user jim
> :> 200 your password please.
> :> pass mypass
> :> 200 your new password please.
> :> newpass newpass
> :> 500 Unable to change password.
> :> Connection closed by foreign host.
> :>
> :> BTW, the "user not in wheel" bug that had been reported earlier doesn't
> :> seem to exist on these machines. All of these have the problem:
> :>
> :> 4.6-STABLE #1: Fri Jul 12
> :> 4.6-STABLE #1: Mon Jul 15
> :> 4.6-STABLE #0: Mon Jul 8
> :>
> :> --
> :> Jim Weeks
> :>
> :>
>
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020729055054.V1094-100000>
