Bug 1009

Summary: SSHD fails to log hostname for the directives AllowGroups & DenyGroups
Product: Portable OpenSSH Reporter: Michael selvesteen <selvesteen>
Component: sshdAssignee: OpenSSH Bugzilla mailing list <openssh-bugs>
Status: CLOSED DUPLICATE    
Severity: normal    
Priority: P2    
Version: 4.0p1   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch none

Description Michael selvesteen 2005-04-05 17:41:10 AEST
From SSH 4.0, It is stated that "sshd(8) will now log the source of connections
denied by AllowUsers, DenyUsers,  AllowGroups and DenyGroups".  SSHD correctly
logs the hostname for AllowUsers and Denyusers but fails to log the hostname for
AllowGroups and DenyGroups.

Example:
(DenyUser)
sun sshd[28097]: User root from sun.team.com not allowed because listed in DenyUsers
(DenyGroups)
sun sshd[28140]: User root from  not allowed because a group is listed in DenyGroups
Comment 1 Michael selvesteen 2005-04-05 17:45:39 AEST
Created attachment 867 [details]
Patch

The attached patch solves the problem.
Comment 2 Damien Miller 2005-04-05 17:52:00 AEST

*** This bug has been marked as a duplicate of 999 ***
Comment 3 Darren Tucker 2006-10-07 11:39:29 AEST
Change all RESOLVED bug to CLOSED with the exception of the ones fixed post-4.4.