Bug 1009 - SSHD fails to log hostname for the directives AllowGroups & DenyGroups
Summary: SSHD fails to log hostname for the directives AllowGroups & DenyGroups
Status: CLOSED DUPLICATE of bug 999
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: sshd (show other bugs)
Version: 4.0p1
Hardware: All All
: P2 normal
Assignee: OpenSSH Bugzilla mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-05 17:41 AEST by Michael selvesteen
Modified: 2006-10-07 11:39 AEST (History)
0 users

See Also:


Attachments
Patch (499 bytes, patch)
2005-04-05 17:45 AEST, Michael selvesteen
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.