[19105] in Kerberos
Re: Adding password changing code to openssh
daemon@ATHENA.MIT.EDU (James F.Hranicky)
Mon Apr 21 13:52:34 2003
Date: Mon, 21 Apr 2003 13:51:10 -0400
From: "James F.Hranicky" <jfh@cise.ufl.edu>
To: "James F.Hranicky" <jfh@cise.ufl.edu>
Message-Id: <20030421135110.2cf48911.jfh@cise.ufl.edu>
In-Reply-To: <20030416094457.480d5f61.jfh@cise.ufl.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
cc: kerberos@mit.edu
Errors-To: kerberos-bounces@mit.edu
On Wed, 16 Apr 2003 09:44:57 -0400
"James F.Hranicky" <jfh@cise.ufl.edu> wrote:
> IOW, the return code indicates the password change succeeded, but the
> code string indicated it did not. Upon trying to log in again, the old
> password still works, indicating the change did not really happen, despite
> the expiration date being cleared.
Uh, oops -- looks like I found the problem. I had this:
prompts[i].reply->data = xstrdup(context_krb5.responses[i]);
when I should've had this:
strlcpy(prompts[i].reply->data, context_krb5.responses[i],
prompts[i].reply->length);
as prompts[i].reply->data is already allocated :->
Preliminarily, my prompter patch for openssh is now working. Yay.
Jim
________________________________________________
Kerberos mailing list Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos