diff options
author | Damien Miller <djm@mindrot.org> | 2003-11-21 13:48:55 +0100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2003-11-21 13:48:55 +0100 |
commit | a8e06cef35c205e1aa562513c6d034a10c8c9a6d (patch) | |
tree | cf8bdb4466f553088c020b9179cabd6eaf196075 /auth-krb5.c | |
parent | - (djm) OpenBSD CVS Sync (diff) | |
download | openssh-a8e06cef35c205e1aa562513c6d034a10c8c9a6d.tar.xz openssh-a8e06cef35c205e1aa562513c6d034a10c8c9a6d.zip |
- djm@cvs.openbsd.org 2003/11/21 11:57:03
[everything]
unexpand and delete whitespace at EOL; ok markus@
(done locally and RCS IDs synced)
Diffstat (limited to 'auth-krb5.c')
-rw-r--r-- | auth-krb5.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/auth-krb5.c b/auth-krb5.c index 101e53bca..b41c4882b 100644 --- a/auth-krb5.c +++ b/auth-krb5.c @@ -28,7 +28,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: auth-krb5.c,v 1.14 2003/11/04 08:54:09 djm Exp $"); +RCSID("$OpenBSD: auth-krb5.c,v 1.15 2003/11/21 11:57:02 djm Exp $"); #include "ssh.h" #include "ssh1.h" @@ -136,11 +136,11 @@ auth_krb5_password(Authctxt *authctxt, const char *password) if (problem) goto out; - if (!krb5_kuserok(authctxt->krb5_ctx, authctxt->krb5_user, + if (!krb5_kuserok(authctxt->krb5_ctx, authctxt->krb5_user, authctxt->pw->pw_name)) { problem = -1; goto out; - } + } snprintf(ccname,sizeof(ccname),"FILE:/tmp/krb5cc_%d_XXXXXX",geteuid()); |