]> andersk Git - openssh.git/commitdiff
- dtucker@cvs.openbsd.org 2005/03/14 11:44:42
authordtucker <dtucker>
Mon, 14 Mar 2005 12:17:27 +0000 (12:17 +0000)
committerdtucker <dtucker>
Mon, 14 Mar 2005 12:17:27 +0000 (12:17 +0000)
     [auth.c]
     Populate host for log message for logins denied by AllowUsers and
     DenyUsers (bz #999); ok markus@

ChangeLog
auth.c

index d7e4ccdf7240fe698ca08f4a69098fc4d4fc86f9..c2a91886c4838ee70cf1d47f23ffb06671733998 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
    - dtucker@cvs.openbsd.org 2005/03/14 10:09:03
      [ssh-keygen.1]
      Correct description of -H (bz #997);  ok markus@, punctuation jmc@
+   - dtucker@cvs.openbsd.org 2005/03/14 11:44:42
+     [auth.c]
+     Populate host for log message for logins denied by AllowUsers and
+     DenyUsers (bz #999); ok markus@
 
 20050313
  - (dtucker) [contrib/cygwin/ssh-host-config] Makes the query for the
diff --git a/auth.c b/auth.c
index 25680768337643182438ea3a4bbf44ef1ad4083a..46b0131375ad6a1dd36228e4c90c28f13660e457 100644 (file)
--- a/auth.c
+++ b/auth.c
@@ -23,7 +23,7 @@
  */
 
 #include "includes.h"
-RCSID("$OpenBSD: auth.c,v 1.57 2005/01/22 08:17:59 dtucker Exp $");
+RCSID("$OpenBSD: auth.c,v 1.58 2005/03/14 11:44:42 dtucker Exp $");
 
 #ifdef HAVE_LOGIN_H
 #include <login.h>
@@ -145,7 +145,8 @@ allowed_user(struct passwd * pw)
                return 0;
        }
 
-       if (options.num_deny_users > 0 || options.num_allow_users > 0) {
+       if (options.num_deny_users > 0 || options.num_allow_users > 0 ||
+           options.num_deny_groups > 0 || options.num_allow_groups > 0) {
                hostname = get_canonical_hostname(options.use_dns);
                ipaddr = get_remote_ipaddr();
        }
This page took 0.601569 seconds and 5 git commands to generate.