From: simon Date: Mon, 18 Jul 2011 18:09:36 +0000 (+0000) Subject: Minor amendment to r9226: don't log GSSAPI failure in the Event Log X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/commitdiff_plain/2af4fe8faa4be47c04b390fce8e85f7cc00dea2a 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 --- 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");