* ksu.c: frob error codes
authorTom Yu <tlyu@mit.edu>
Sat, 16 Jul 1994 10:05:08 +0000 (10:05 +0000)
committerTom Yu <tlyu@mit.edu>
Sat, 16 Jul 1994 10:05:08 +0000 (10:05 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3992 dc483132-0cff-0310-8789-dd5450dbe970

src/clients/ksu/ChangeLog
src/clients/ksu/krb_auth_su.c

index 334e790902646cb5b141ee3286df6354e9256db0..101001b20768018ea412de11c2360d6e6d0bc85e 100644 (file)
@@ -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.
index a30479cb8cbceb8131ce0d2e86ffc1c0c360e586..16959416f0f43f0d44c0a19bff6f4e5df46f30f4 100644 (file)
@@ -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;
             }