From 09495e7722677318736c63d5bd126b59914dd164 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Thu, 22 Feb 2007 02:04:38 +0000 Subject: [PATCH] KRB5KDC_ERR_PREAUTH_FAILED is also a password failed. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20278 ec53bebd-3082-4978-b11e-865c3cabbd6b --- kuser/kinit.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kuser/kinit.c b/kuser/kinit.c index 6f295d394..685b67c4f 100644 --- a/kuser/kinit.c +++ b/kuser/kinit.c @@ -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: