From owner-freebsd-current@freebsd.org Mon Apr 16 12:12:55 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7E0EDFA53D6 for ; Mon, 16 Apr 2018 12:12:55 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from CAN01-TO1-obe.outbound.protection.outlook.com (mail-eopbgr670046.outbound.protection.outlook.com [40.107.67.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT TLS CA 4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 059606D749; Mon, 16 Apr 2018 12:12:54 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from YQBPR0101MB1042.CANPRD01.PROD.OUTLOOK.COM (52.132.66.153) by YQBPR0101MB1394.CANPRD01.PROD.OUTLOOK.COM (52.132.68.155) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.675.9; Mon, 16 Apr 2018 12:12:53 +0000 Received: from YQBPR0101MB1042.CANPRD01.PROD.OUTLOOK.COM ([fe80::893c:efc2:d71f:945a]) by YQBPR0101MB1042.CANPRD01.PROD.OUTLOOK.COM ([fe80::893c:efc2:d71f:945a%13]) with mapi id 15.20.0675.015; Mon, 16 Apr 2018 12:12:53 +0000 From: Rick Macklem To: Julian Elischer , freebsd-current Subject: Re: anyone running with ngroups increased from 16? Thread-Topic: anyone running with ngroups increased from 16? Thread-Index: AQHT1W8IiHlm+FVR3U6/Xy7rruXn76QDQIyAgAALMJw= Date: Mon, 16 Apr 2018 12:12:53 +0000 Message-ID: References: , In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=rmacklem@uoguelph.ca; x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; YQBPR0101MB1394; 7:5qNuFX8W+CG0WIRVTMFCsAJcj2pduT2j+CX06eyY4AS0eR6adnE0FSrz4cV9a4kfY6wsU6xEelM5Wef+frQTk7CGvaTi8sz75w5bHCtCD4gSdoAdGxGC/RfvlSZimYudp+0YvB1WDpGcjYwwCTh5TjT/pLfRFohxb7gTLOfSFAu9BaxWHv6Gvqk3mba9KSOYGKl45D9Ynnh6mOXRTRS398c+KwHNL7aPfPuAwOH/ksVz3FckKNqQEG6Cr8rzjBjI x-ms-exchange-antispam-srfa-diagnostics: SOS; x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(8989080)(5600026)(4534165)(4627221)(201703031133081)(201702281549075)(8990040)(2017052603328)(7153060)(7193020); SRVR:YQBPR0101MB1394; x-ms-traffictypediagnostic: YQBPR0101MB1394: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(158342451672863)(278428928389397); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(5005006)(8121501046)(10201501046)(3231232)(944501327)(52105095)(93006095)(93001095)(3002001)(6041310)(201703131423095)(201702281529075)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123560045)(20161123562045)(20161123558120)(6072148)(201708071742011); SRVR:YQBPR0101MB1394; BCL:0; PCL:0; RULEID:; SRVR:YQBPR0101MB1394; x-forefront-prvs: 0644578634 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(346002)(366004)(396003)(39380400002)(39860400002)(189003)(199004)(476003)(3660700001)(8936002)(106356001)(5660300001)(25786009)(11346002)(446003)(110136005)(6506007)(74316002)(305945005)(86362001)(76176011)(229853002)(2906002)(33656002)(26005)(97736004)(7696005)(186003)(99286004)(105586002)(59450400001)(102836004)(3280700002)(74482002)(786003)(316002)(55016002)(68736007)(5250100002)(14454004)(486006)(81156014)(81166006)(53936002)(8676002)(478600001)(2900100001)(6246003)(450100002)(9686003)(6436002); DIR:OUT; SFP:1101; SCL:1; SRVR:YQBPR0101MB1394; H:YQBPR0101MB1042.CANPRD01.PROD.OUTLOOK.COM; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: uoguelph.ca does not designate permitted sender hosts) x-microsoft-antispam-message-info: 74ztLP34fnNC1eEVc9EDM7U+c81w/U+MLaesb58ReLdimM7RiXqPsoBQ98zvkWzQDO0tEZubWcSyfNxZO6xBjPKmehCqiMFOBq1z/rNJsfpj+HJ4R+jBApWyT5eMiyIHKUfXqom7klmj/oyTQk8J6PeBnyabr2pKD0FOVazyw6vKB5bTPxBA1xZPMKw1lJGJ spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 3bafdf96-0626-404f-ccc6-08d5a39361bd X-OriginatorOrg: uoguelph.ca X-MS-Exchange-CrossTenant-Network-Message-Id: 3bafdf96-0626-404f-ccc6-08d5a39361bd X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Apr 2018 12:12:53.7829 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: be62a12b-2cad-49a1-a5fa-85f4f3156a7d X-MS-Exchange-Transport-CrossTenantHeadersStamped: YQBPR0101MB1394 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Apr 2018 12:12:55 -0000 Julian Elischer wrote: >On 16/4/18 6:37 pm, Julian Elischer wrote: >> Windows users seem to have an almost unlimited number of groups and >> soem places seem to use them a LOT. >> This gives Posix systems problems with deciding how to handle them >> all. Especially when getting >> user credentials from winbindd (samba). >> >> Does anyone know of any work done to either bypass this limit or to >> at least expand it? > >I mean with the other applications such NFS usages etc. >I know mountd explodes with > 16.. has anyone done a cleaning pass? 16 is the limit "on-the-wire" per RFCs for Sun RPC. You can use nfsuserd --manage-gids (see "man nfsuserd") on the NFS server so that the daemon uses the group list for the uid in the= RPC instead of the list of groups (limited to 16) in the RPC header. Works= fine so long as the server knows the same group list for a uid as the client(s) do. And, yes, this applies to NFSv3 as well as NFSv4. rick