From 2af4fe8faa4be47c04b390fce8e85f7cc00dea2a Mon Sep 17 00:00:00 2001 From: simon Date: Mon, 18 Jul 2011 18:09:36 +0000 Subject: [PATCH 1/1] Minor amendment to r9226: don't log GSSAPI failure in the Event Log twice. (Once in the GSSAPI code, once at the top of the main auth loop. Removed the latter.) git-svn-id: svn://svn.tartarus.org/sgt/putty@9232 cda61777-01e9-0310-a592-d414129be87e --- ssh.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ssh.c b/ssh.c index e8f65b58..dafa1489 100644 --- a/ssh.c +++ b/ssh.c @@ -7718,7 +7718,8 @@ static void do_ssh2_authconn(Ssh ssh, unsigned char *in, int inlen, logevent("Server refused keyboard-interactive authentication"); } else if (s->type==AUTH_TYPE_GSSAPI) { /* always quiet, so no c_write */ - logevent("GSSAPI authentication failed"); + /* also, the code down in the GSSAPI block has + * already logged this in the Event Log */ } else if (s->type == AUTH_TYPE_KEYBOARD_INTERACTIVE) { logevent("Keyboard-interactive authentication failed"); c_write_str(ssh, "Access denied\r\n"); -- 2.11.0