summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordjm <djm@openbsd.org>2011-03-10 11:34:25 +0000
committerdjm <djm@openbsd.org>2011-03-10 11:34:25 +0000
commite30c945240d9a2ca00898fde09a0ddb1a1c2ca00 (patch)
tree609a76825b0984f0207a8056596fa401a643710f
parentExtend the documentation of the actions argument and bring this up to date (diff)
downloadwireguard-openbsd-e30c945240d9a2ca00898fde09a0ddb1a1c2ca00.tar.xz
wireguard-openbsd-e30c945240d9a2ca00898fde09a0ddb1a1c2ca00.zip
allow GSSAPI authentication to detect when a server-side failure causes
authentication failure and don't count such failures against MaxAuthTries; bz#1244 from simon AT sxw.org.uk; ok markus@ before lock
-rw-r--r--usr.bin/ssh/auth.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/ssh/auth.h b/usr.bin/ssh/auth.h
index 217723fcac6..cd6a7f57e3c 100644
--- a/usr.bin/ssh/auth.h
+++ b/usr.bin/ssh/auth.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: auth.h,v 1.66 2010/05/07 11:30:29 djm Exp $ */
+/* $OpenBSD: auth.h,v 1.67 2011/03/10 11:34:25 djm Exp $ */
/*
* Copyright (c) 2000 Markus Friedl. All rights reserved.
@@ -48,6 +48,7 @@ struct Authctxt {
int valid; /* user exists and is allowed to login */
int attempt;
int failures;
+ int server_caused_failure;
int force_pwchange;
char *user; /* username sent by the client */
char *service;