]> andersk Git - openssh.git/commitdiff
- (bal) AIX does not log login attempts for unknown users (bug #432).
authormouring <mouring>
Sat, 9 Nov 2002 16:11:10 +0000 (16:11 +0000)
committermouring <mouring>
Sat, 9 Nov 2002 16:11:10 +0000 (16:11 +0000)
   patch by dtucker@zip.com.au

ChangeLog
auth.c

index f751aaf318d7c238707d1629247a3d6fc28ffbb1..5364dc6f20a54af80bf5a4451613ae1caacd80ad 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -39,6 +39,8 @@
  - (bal) Update ssh-host-config and minor rewrite of bsd-cygwin_util.c
    ntsec now default if cygwin version beginning w/ version 56.  Patch
    by Corinna Vinschen <vinschen@redhat.com> 
+ - (bal) AIX does not log login attempts for unknown users (bug #432).
+   patch by dtucker@zip.com.au
 
 20021021
  - (djm) Bug #400: Kill ssh-rand-helper children on timeout, patch from 
diff --git a/auth.c b/auth.c
index 021174f975fdbedb49309ad8e9c683df3d8162ff..ee001283f78c257dbfdfdf0bfd5dd40e1f7bb0ed 100644 (file)
--- 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))
This page took 0.035378 seconds and 5 git commands to generate.