From 53620b826cbc52f306ddf3592752bc2af37ea873 Mon Sep 17 00:00:00 2001 From: Sam Hartman Date: Mon, 11 Nov 1996 01:49:39 +0000 Subject: [PATCH] Fail completely if there is no srvtab git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9364 dc483132-0cff-0310-8789-dd5450dbe970 --- src/clients/ksu/ChangeLog | 5 +++++ src/clients/ksu/krb_auth_su.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/clients/ksu/ChangeLog b/src/clients/ksu/ChangeLog index 3cef83af4..0de61a45b 100644 --- a/src/clients/ksu/ChangeLog +++ b/src/clients/ksu/ChangeLog @@ -1,3 +1,8 @@ +Sun Nov 10 20:10:53 1996 Sam Hartman + + * krb_auth_su.c (path_passwd;): If you don't have a srvtab, always + fail. + Thu Nov 7 15:41:19 1996 Theodore Ts'o * main.c (main): Check the error return from diff --git a/src/clients/ksu/krb_auth_su.c b/src/clients/ksu/krb_auth_su.c index 01cd77110..b089fa113 100644 --- a/src/clients/ksu/krb_auth_su.c +++ b/src/clients/ksu/krb_auth_su.c @@ -220,7 +220,7 @@ krb5_seteuid(0); &target_tkt); if (retval) { com_err(prog_name, retval, "while verifying ticket for server"); - if (retval != ENOENT) return (FALSE); + return (FALSE); } if ((retval = krb5_cc_store_cred(context, cc, out_creds))){ -- 2.26.2