From owner-freebsd-hackers@FreeBSD.ORG Tue Jun 5 18:59:20 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2F9CB16A421 for ; Tue, 5 Jun 2007 18:59:20 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outG.internet-mail-service.net (outG.internet-mail-service.net [216.240.47.230]) by mx1.freebsd.org (Postfix) with ESMTP id 1E5ED13C458 for ; Tue, 5 Jun 2007 18:59:19 +0000 (UTC) (envelope-from julian@elischer.org) Received: from mx0.idiom.com (HELO idiom.com) (216.240.32.160) by out.internet-mail-service.net (qpsmtpd/0.32) with ESMTP; Tue, 05 Jun 2007 11:59:19 -0700 Received: from julian-mac.elischer.org (nat.ironport.com [63.251.108.100]) by idiom.com (Postfix) with ESMTP id 5C72F125A28; Tue, 5 Jun 2007 11:59:19 -0700 (PDT) Message-ID: <4665B28A.7060608@elischer.org> Date: Tue, 05 Jun 2007 11:59:22 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.0 (Macintosh/20070326) MIME-Version: 1.0 To: rapopp@eastcentral.edu References: <200706051149.45787.rapopp@eastcentral.edu> In-Reply-To: <200706051149.45787.rapopp@eastcentral.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: kern.ngroups question X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jun 2007 18:59:20 -0000 Reuben A. Popp wrote: > Hello all, > > Can someone explain to me the rationale behind having ngroups_max set to 16 by > default? > NFS only supports this much by default (from memory). Samba (in the guise of Jeremy Allison) has asked us to follow Linux's lead and support an arbitrary number of Groups but it hasn't happened yet, Partly due to the question of "what to do about NFS" and partly just due to ENOTIME. > I came across this issue originally when working on our Samba implementation > (samba-3 out of ports, running on 6-STABLE). We have some users that belong > to a number of groups, some of whom need to belong to more groups than the > defined hard limit. On doing a little research, I did come across the PR > detailed in http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/108552, and > continued reading the linked thread from March 2003, however this really > doesn't explain why the limit is set to 16. > > Can one adjust the value in syslimits.h on a system and then rebuild > world/ports with the expectation this will work, or is the issue more > involved then that? Is (or has) there any discussion on raising that number > to a larger value? > > Thanks in advance (doubly so if this is a lame question) > Reuben >