From b2da7d185e1227501262449b634139349a3f736f Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Thu, 5 May 2011 14:04:50 +1000 Subject: - djm@cvs.openbsd.org 2011/03/10 11:34:25 [auth.h] 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 --- auth.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'auth.h') diff --git a/auth.h b/auth.h index 77317aee..772a8c89 100644 --- a/auth.h +++ b/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. @@ -53,6 +53,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; -- cgit v1.2.3