- (bal) AIX does not log login attempts for unknown users (bug #432).
   patch by dtucker@zip.com.au
diff --git a/auth.c b/auth.c
index 021174f..ee00128 100644
--- a/auth.c
+++ b/auth.c
@@ -491,6 +491,11 @@
 	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))