mirror of
git://anongit.mindrot.org/openssh.git
synced 2024-12-24 02:42:25 +00:00
- (dtucker) [auth.c] Fix parens in audit log check.
This commit is contained in:
parent
598ba7b5e2
commit
40d9a63788
@ -1,5 +1,6 @@
|
||||
20050204
|
||||
- (dtucker) [monitor.c] Permit INVALID_USER audit events from slave too.
|
||||
- (dtucker) [auth.c] Fix parens in audit log check.
|
||||
|
||||
20050202
|
||||
- (dtucker) [configure.ac openbsd-compat/realpath.c] Sync up with realpath
|
||||
@ -2075,4 +2076,4 @@
|
||||
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
|
||||
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
|
||||
|
||||
$Id: ChangeLog,v 1.3635 2005/02/04 04:05:08 dtucker Exp $
|
||||
$Id: ChangeLog,v 1.3636 2005/02/04 04:19:44 dtucker Exp $
|
||||
|
4
auth.c
4
auth.c
@ -247,8 +247,8 @@ auth_log(Authctxt *authctxt, int authenticated, char *method, char *info)
|
||||
#ifdef CUSTOM_FAILED_LOGIN
|
||||
if (authenticated == 0 && !authctxt->postponed &&
|
||||
(strcmp(method, "password") == 0 ||
|
||||
strncmp(method, "keyboard-interactive", 20) == 0) ||
|
||||
strcmp(method, "challenge-response") == 0)
|
||||
strncmp(method, "keyboard-interactive", 20) == 0 ||
|
||||
strcmp(method, "challenge-response") == 0))
|
||||
record_failed_login(authctxt->user,
|
||||
get_canonical_hostname(options.use_dns), "ssh");
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user