[27588] in CVS-changelog-for-Kerberos-V5
krb5 commit [krb5-1.10]: Convert success in
daemon@ATHENA.MIT.EDU (Tom Yu)
Fri Feb 22 17:19:58 2013
Date: Fri, 22 Feb 2013 17:19:40 -0500
From: Tom Yu <tlyu@mit.edu>
Message-Id: <201302222219.r1MMJe9K011816@drugstore.mit.edu>
To: cvs-krb5@mit.edu
Reply-To: krbdev@mit.edu
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: cvs-krb5-bounces@mit.edu
https://github.com/krb5/krb5/commit/6abd90b73b1f8abae9fcf42e89758348a40d1dc1
commit 6abd90b73b1f8abae9fcf42e89758348a40d1dc1
Author: Jonathan Reams <jreams@columbia.edu>
Date: Fri Feb 15 02:11:57 2013 -0500
Convert success in krb5_chpw_result_code_string
Result code 0 used to be converted properly by krb5_set_password,
though not krb5_change_password; this changed in 1.10 when
krb5int_setpw_result_code_string was folded into
krb5_chpw_result_code_string. Restore the old behavior, and make it
apply to krb5_change_password as well, by making
krb5_chpw_result_code_string convert result code 0.
[ghudson@mit.edu: commit message]
(cherry picked from commit 316bf74b4696058e2b60c95c9d0fc90d6c2c2ffe)
ticket: 7576 (new)
version_fixed: 1.10.4
status: resolved
src/lib/krb5/krb/chpw.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/lib/krb5/krb/chpw.c b/src/lib/krb5/krb/chpw.c
index 7e43dcf..2ea2305 100644
--- a/src/lib/krb5/krb/chpw.c
+++ b/src/lib/krb5/krb/chpw.c
@@ -268,6 +268,9 @@ krb5_chpw_result_code_string(krb5_context context, int result_code,
case KRB5_KPASSWD_INITIAL_FLAG_NEEDED:
*code_string = _("Initial password required");
break;
+ case 0:
+ *code_string = _("Success");
+ break;
default:
*code_string = _("Password change failed");
break;
_______________________________________________
cvs-krb5 mailing list
cvs-krb5@mit.edu
https://mailman.mit.edu/mailman/listinfo/cvs-krb5