Subject: possible problem in getgrouplist (#groups > NGROUPS_MAX)
To: None <tech-userlevel@netbsd.org>
From: Tim Bandy <bandy@timn8r.org>
List: tech-userlevel
Date: 04/30/2002 16:34:30
I created a test account, and added that test account to more than
NGROUPS_MAX groups, which is 16.  This seems to cause initgroups to
return -1, which causes problems for (at least) both sshd and
telnetd.  Is this intended behavior?  If not, I believe that I have
found (at least part of) the problem in getgrouplist.c, and can
send-pr.

-- 
Tim Bandy (bandy@timn8r.org)

Thank goodness modern convenience is a thing of the remote future.
                -- Pogo, by Walt Kelly