From: Tom Yu Date: Sat, 16 Jul 1994 10:05:08 +0000 (+0000) Subject: * ksu.c: frob error codes X-Git-Tag: krb5-1.0-beta4.2~125 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3f04dc0843df25156b5fee706eb933efa3b9fab3;p=krb5.git * ksu.c: frob error codes git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3992 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/clients/ksu/ChangeLog b/src/clients/ksu/ChangeLog index 334e79090..101001b20 100644 --- a/src/clients/ksu/ChangeLog +++ b/src/clients/ksu/ChangeLog @@ -1,3 +1,7 @@ +Sat Jul 16 03:02:17 1994 Tom Yu (tlyu at dragons-lair) + + * ksu.c: frob error codes + Fri Jul 15 23:45:34 1994 Theodore Y. Ts'o (tytso at tsx-11) * ksu.c (get_dir_of_file): Change to use POSIX getcwd() function. diff --git a/src/clients/ksu/krb_auth_su.c b/src/clients/ksu/krb_auth_su.c index a30479cb8..16959416f 100644 --- a/src/clients/ksu/krb_auth_su.c +++ b/src/clients/ksu/krb_auth_su.c @@ -442,7 +442,7 @@ krb5_boolean krb5_get_tkt_via_passwd (krb5_ccache * ccache, krb5_principal clien password, *ccache, &my_creds, 0); - if (code != KRB5KDC_PREAUTH_FAILED && + if (code != KRB5KDC_ERR_PREAUTH_FAILED && code != KRB5KRB_ERR_GENERIC) break; }