=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/auth-krb5.c,v retrieving revision 1.15 retrieving revision 1.15.6.1 diff -u -r1.15 -r1.15.6.1 --- src/usr.bin/ssh/auth-krb5.c 2003/11/21 11:57:02 1.15 +++ src/usr.bin/ssh/auth-krb5.c 2006/02/03 02:53:44 1.15.6.1 @@ -28,7 +28,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: auth-krb5.c,v 1.15 2003/11/21 11:57:02 djm Exp $"); +RCSID("$OpenBSD: auth-krb5.c,v 1.15.6.1 2006/02/03 02:53:44 brad Exp $"); #include "ssh.h" #include "ssh1.h" @@ -65,9 +65,6 @@ krb5_error_code problem; krb5_ccache ccache = NULL; - if (!authctxt->valid) - return (0); - temporarily_use_uid(authctxt->pw); problem = krb5_init(authctxt); @@ -134,7 +131,7 @@ else return (0); } - return (1); + return (authctxt->valid ? 1 : 0); } void