From owner-freebsd-hackers@FreeBSD.ORG Thu Jul 19 14:56:55 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 ADC6316A402 for ; Thu, 19 Jul 2007 14:56:55 +0000 (UTC) (envelope-from mail25@bzerk.org) Received: from ei.bzerk.org (ei.xs4all.nl [82.95.223.12]) by mx1.freebsd.org (Postfix) with ESMTP id 3D4FD13C491 for ; Thu, 19 Jul 2007 14:56:55 +0000 (UTC) (envelope-from mail25@bzerk.org) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.13.8/8.13.8) with ESMTP id l6JEX8j6009169; Thu, 19 Jul 2007 16:33:08 +0200 (CEST) (envelope-from mail25@bzerk.org) Received: (from bulk@localhost) by ei.bzerk.org (8.13.8/8.13.8/Submit) id l6JEX7AS009168; Thu, 19 Jul 2007 16:33:07 +0200 (CEST) (envelope-from mail25@bzerk.org) Date: Thu, 19 Jul 2007 16:33:07 +0200 From: Ruben de Groot To: Michael Vince Message-ID: <20070719143307.GA8861@ei.bzerk.org> Mail-Followup-To: Ruben de Groot , Michael Vince , Julian Elischer , freebsd-hackers@freebsd.org, rapopp@eastcentral.edu References: <200706051149.45787.rapopp@eastcentral.edu> <4665B28A.7060608@elischer.org> <469ECA49.8050101@thebeastie.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <469ECA49.8050101@thebeastie.org> User-Agent: Mutt/1.4.2.2i X-Spam-Status: No, score=-4.1 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, J_CHICKENPOX_47 autolearn=ham version=3.1.7 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on ei.bzerk.org X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (ei.bzerk.org [127.0.0.1]); Thu, 19 Jul 2007 16:33:11 +0200 (CEST) X-Mailman-Approved-At: Thu, 19 Jul 2007 15:07:33 +0000 Cc: freebsd-hackers@freebsd.org, Julian Elischer , rapopp@eastcentral.edu 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: Thu, 19 Jul 2007 14:56:55 -0000 On Thu, Jul 19, 2007 at 12:19:53PM +1000, Michael Vince typed: > > I just had to deal with this limitation and it was quite annoying to say > the least, it appears Samba is somewhat deliberately designed to give > you a hard time when you run into this limit, because as soon as you add > a user to more than 16 groups it declares the group file unreadable and > as a security measure shuts down all shares and authentication which > wrecks a network which relies on Samba. > > Also as far as I know Solaris and Linux has long gone past this limitation. Linux maybe, but not Solaris: $ uname -sr SunOS 5.10 $ grep groups /usr/include/limits.h #define NGROUPS_MAX 16 /* max number of groups for a user */ cheers, Ruben > Mike > > > _______________________________________________ > 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"