]> andersk Git - gssapi-openssh.git/blobdiff - openssh/auth2.c
reset authctxt->valid field if we're re-using authctxt
[gssapi-openssh.git] / openssh / auth2.c
index 0bfac7baa58caae893238e1ab1e8cfb0d8ba4cf9..16c886eb3365d25fd173ca15e4e59bad0720fd4d 100644 (file)
@@ -204,6 +204,7 @@ input_userauth_request(int type, u_int32_t seq, void *ctxt)
                        PRIVSEP(start_pam(authctxt->pw->pw_name));
 #endif
                } else {
+                       authctxt->valid = 0;
                        log("input_userauth_request: illegal user %s", user);
 #ifdef USE_PAM
                        PRIVSEP(start_pam("NOUSER"));
This page took 0.023442 seconds and 4 git commands to generate.