=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/auth-krb5.c,v retrieving revision 1.12.2.1 retrieving revision 1.13 diff -u -r1.12.2.1 -r1.13 --- src/usr.bin/ssh/auth-krb5.c 2004/02/28 03:51:32 1.12.2.1 +++ src/usr.bin/ssh/auth-krb5.c 2003/09/23 20:17:11 1.13 @@ -28,7 +28,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: auth-krb5.c,v 1.12.2.1 2004/02/28 03:51:32 brad Exp $"); +RCSID("$OpenBSD: auth-krb5.c,v 1.13 2003/09/23 20:17:11 markus Exp $"); #include "ssh.h" #include "ssh1.h" @@ -65,7 +65,7 @@ krb5_error_code problem; krb5_ccache ccache = NULL; - if (!authctxt->valid) + if (authctxt->pw == NULL) return (0); temporarily_use_uid(authctxt->pw); @@ -83,7 +83,7 @@ if (problem) goto out; - problem = krb5_cc_initialize(authctxt->krb5_ctx, ccache, + problem = krb5_cc_initialize(authctxt->krb5_ctx, ccache, authctxt->krb5_user); if (problem) goto out; @@ -98,7 +98,7 @@ if (problem) goto out; - problem = krb5_cc_gen_new(authctxt->krb5_ctx, &krb5_fcc_ops, + problem = krb5_cc_gen_new(authctxt->krb5_ctx, &krb5_fcc_ops, &authctxt->krb5_fwd_ccache); if (problem) goto out;