From f5397c081d790a3758e1ee65eca1ab7b3632b0d0 Mon Sep 17 00:00:00 2001 From: Ben Lindstrom Date: Sat, 9 Nov 2002 16:11:10 +0000 Subject: - (bal) AIX does not log login attempts for unknown users (bug #432). patch by dtucker@zip.com.au --- auth.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'auth.c') diff --git a/auth.c b/auth.c index 021174f9..ee001283 100644 --- a/auth.c +++ b/auth.c @@ -491,6 +491,11 @@ getpwnamallow(const char *user) if (pw == NULL) { log("Illegal user %.100s from %.100s", user, get_remote_ipaddr()); +#ifdef WITH_AIXAUTHENTICATE + loginfailed(user, + get_canonical_hostname(options.verify_reverse_mapping), + "ssh"); +#endif return (NULL); } if (!allowed_user(pw)) -- cgit v1.2.3