From: Ken Raeburn Date: Sat, 17 May 2003 01:56:10 +0000 (+0000) Subject: * chpw.c (krb5int_rd_chpw_rep): Allow new kpasswd error codes up through X-Git-Tag: krb5-1.4-beta1~950 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a7d09fc578855986229497857815577d2afa7f75;p=krb5.git * chpw.c (krb5int_rd_chpw_rep): Allow new kpasswd error codes up through _INITIAL_FLAG_NEEDED. ticket: 1441 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15455 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/krb/ChangeLog b/src/lib/krb5/krb/ChangeLog index 6222799ed..5ceee6685 100644 --- a/src/lib/krb5/krb/ChangeLog +++ b/src/lib/krb5/krb/ChangeLog @@ -4,6 +4,9 @@ data into krb5_context and free up the newly allocated OS context. + * chpw.c (krb5int_rd_chpw_rep): Allow new kpasswd error codes up + through _INITIAL_FLAG_NEEDED. + 2003-05-13 Sam Hartman * fwd_tgt.c (krb5_fwd_tgt_creds): Try with no specified enctype if diff --git a/src/lib/krb5/krb/chpw.c b/src/lib/krb5/krb/chpw.c index f640ce66c..a455cc40b 100644 --- a/src/lib/krb5/krb/chpw.c +++ b/src/lib/krb5/krb/chpw.c @@ -174,7 +174,7 @@ krb5int_rd_chpw_rep(krb5_context context, krb5_auth_context auth_context, krb5_d *result_code = (*result_code<<8) | (*ptr++ & 0xff); if ((*result_code < KRB5_KPASSWD_SUCCESS) || - (*result_code > KRB5_KPASSWD_SOFTERROR)) { + (*result_code > KRB5_KPASSWD_INITIAL_FLAG_NEEDED)) { ret = KRB5KRB_AP_ERR_MODIFIED; goto cleanup; }