KRB5KDC_ERR_PREAUTH_FAILED is also a password failed.
authorLove Hörnquist Åstrand <lha@kth.se>
Thu, 22 Feb 2007 02:04:38 +0000 (02:04 +0000)
committerLove Hörnquist Åstrand <lha@kth.se>
Thu, 22 Feb 2007 02:04:38 +0000 (02:04 +0000)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20278 ec53bebd-3082-4978-b11e-865c3cabbd6b

kuser/kinit.c

index 6f295d394bcef6fbc0f2bc71a59915f164ab6e31..685b67c4ff90757ff4cdcb7c9bd17dac71f73232 100644 (file)
@@ -657,6 +657,7 @@ get_new_tickets(krb5_context context,
        exit(1);
     case KRB5KRB_AP_ERR_BAD_INTEGRITY:
     case KRB5KRB_AP_ERR_MODIFIED:
+    case KRB5KDC_ERR_PREAUTH_FAILED:
        krb5_errx(context, 1, "Password incorrect");
        break;
     default: