summaryrefslogtreecommitdiff
path: root/auth-krb5.c
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2014-02-10 00:18:28 +0000
committerColin Watson <cjwatson@debian.org>2014-02-10 00:18:28 +0000
commit9a975a9faed7c4f334e8c8490db3e77e102f2b21 (patch)
tree764a885ec9a963f6a8b15de6e1765f16b9ac4738 /auth-krb5.c
parentee196dab7c5f97f0b80c8099343a375bead92010 (diff)
parentcdb6c90811caa5df2df856be9b0b16db020fe31d (diff)
Import openssh_6.5p1.orig.tar.gz
Diffstat (limited to 'auth-krb5.c')
-rw-r--r--auth-krb5.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/auth-krb5.c b/auth-krb5.c
index 7c83f597f..6c62bdf54 100644
--- a/auth-krb5.c
+++ b/auth-krb5.c
@@ -157,7 +157,8 @@ auth_krb5_password(Authctxt *authctxt, const char *password)
157 if (problem) 157 if (problem)
158 goto out; 158 goto out;
159 159
160 if (!krb5_kuserok(authctxt->krb5_ctx, authctxt->krb5_user, client)) { 160 if (!krb5_kuserok(authctxt->krb5_ctx, authctxt->krb5_user,
161 authctxt->pw->pw_name)) {
161 problem = -1; 162 problem = -1;
162 goto out; 163 goto out;
163 } 164 }