mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-25 01:02:24 +00:00
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.)
[originally from svn r9232]
[r9226 == 0b79fe0bcb
]
This commit is contained in:
parent
c33c02fb84
commit
363f57396f
3
ssh.c
3
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");
|
||||
|
Loading…
Reference in New Issue
Block a user