Check for special user-error from krb5_get_init_creds_password.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4324 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1998-01-21 00:36:15 +00:00
parent 58f25391ce
commit df31f1043a

View File

@@ -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");