diff --git a/kuser/kinit.c b/kuser/kinit.c index 58f660fc3..62f27d1f3 100644 --- a/kuser/kinit.c +++ b/kuser/kinit.c @@ -141,6 +141,8 @@ main (int argc, char **argv) switch(ret){ case 0: break; + case KRB5KDC_ERR_NONE: /* XXX hack in krb5_get_init_creds_password */ + exit(1); case KRB5KRB_AP_ERR_BAD_INTEGRITY: case KRB5KRB_AP_ERR_MODIFIED: krb5_errx(context, 1, "Password incorrect");