[Bug 1298] Use of Allow/DenyGroups leads to slow login

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Sun May 20 16:59:12 EST 2007


http://bugzilla.mindrot.org/show_bug.cgi?id=1298


Darren Tucker <dtucker at zip.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dtucker at zip.com.au




--- Comment #1 from Darren Tucker <dtucker at zip.com.au>  2007-05-20 16:59:07 ---
sshd uses getgrouplist for this which queries only for the specified
user.  If the platform doesn't have getgrouplist then the compat code
does enumerate all groups.

Is your configuration using a native getgrouplist (check config.h for
HAVE_GETGROUPLIST)?  If so, why doesn't getgrouplist do the same
optimization as initgroups?


-- 
Configure bugmail: http://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list