summaryrefslogtreecommitdiffstats
path: root/auth.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-11-09 16:11:10 +0000
committerBen Lindstrom <mouring@eviladmin.org>2002-11-09 16:11:10 +0000
commitf5397c081d790a3758e1ee65eca1ab7b3632b0d0 (patch)
tree910102c3abc6a4435377a5a8716f8638f54a9d46 /auth.c
parent224313cdaedbcad4f3453895fa7d8de66e133f47 (diff)
- (bal) AIX does not log login attempts for unknown users (bug #432).
patch by dtucker@zip.com.au
Diffstat (limited to 'auth.c')
-rw-r--r--auth.c5
1 files changed, 5 insertions, 0 deletions
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))