* chpw.c (krb5int_rd_chpw_rep): Allow new kpasswd error codes up through
authorKen Raeburn <raeburn@mit.edu>
Sat, 17 May 2003 01:56:10 +0000 (01:56 +0000)
committerKen Raeburn <raeburn@mit.edu>
Sat, 17 May 2003 01:56:10 +0000 (01:56 +0000)
_INITIAL_FLAG_NEEDED.

ticket: 1441
status: open

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15455 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/krb/ChangeLog
src/lib/krb5/krb/chpw.c

index 6222799ed86e55fbd9158bd5aa1d637b67bf8b00..5ceee6685019cf57e05bba38c85c2ca887a265b4 100644 (file)
@@ -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  <hartmans@mit.edu>
 
        * fwd_tgt.c (krb5_fwd_tgt_creds): Try with no specified enctype if
index f640ce66c60d83a76c555379d44e105e7215ea6c..a455cc40b8c0c87cddfbf630f3fb4862f8c75453 100644 (file)
@@ -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;
     }