From owner-freebsd-hackers@FreeBSD.ORG Tue Jun 5 18:49:45 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 3962916A469 for ; Tue, 5 Jun 2007 18:49:45 +0000 (UTC) (envelope-from Andre.Albsmeier@siemens.com) Received: from david.siemens.de (david.siemens.de [192.35.17.14]) by mx1.freebsd.org (Postfix) with ESMTP id 7B59D13C458 for ; Tue, 5 Jun 2007 18:49:44 +0000 (UTC) (envelope-from Andre.Albsmeier@siemens.com) Received: from mail3.siemens.de (localhost [127.0.0.1]) by david.siemens.de (8.12.6/8.12.6) with ESMTP id l55I9hws015846; Tue, 5 Jun 2007 20:09:43 +0200 Received: from curry.mchp.siemens.de (curry.mchp.siemens.de [139.25.40.130]) by mail3.siemens.de (8.12.6/8.12.6) with ESMTP id l55I9gS9020596; Tue, 5 Jun 2007 20:09:42 +0200 Received: (from localhost) by curry.mchp.siemens.de (8.14.1/8.14.1) id l55I9gER037613; Date: Tue, 5 Jun 2007 20:09:42 +0200 From: Andre Albsmeier To: "Reuben A. Popp" Message-ID: <20070605180942.GA22237@curry.mchp.siemens.de> References: <200706051149.45787.rapopp@eastcentral.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200706051149.45787.rapopp@eastcentral.edu> X-Echelon: X-Advice: Drop that crappy M$-Outlook, I'm tired of your viruses! User-Agent: Mutt/1.5.14 (2007-02-12) 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:49:45 -0000 On Tue, 05-Jun-2007 at 11:49:44 -0500, Reuben A. Popp wrote: > Hello all, > > Can someone explain to me the rationale behind having ngroups_max set to 16 by > default? > > 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? About 2 years ago I changed it to 64 (all over the place) and recompiled world, kernels, ports and every programme on the boxes in question. Things worked well but NFS went mad (IIRC, NFS4 will do better here but I am not sure). Since I needed the groups in question to control file access, I reverted the change and switched to ACLs which is not so intrusive :-). -Andre > > Thanks in advance (doubly so if this is a lame question) > Reuben > > -- > Reuben A. Popp > Systems Administrator > Information Technology Department > East Central College > 1+ 636 583 5195 x2480 > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" -- ech`echo xiun | tr nu oc | sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`ol