From owner-freebsd-hackers@FreeBSD.ORG Tue Apr 13 23:26:52 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5ED3E1065670 for ; Tue, 13 Apr 2010 23:26:52 +0000 (UTC) (envelope-from knoseeker@googlemail.com) Received: from mail-gx0-f211.google.com (mail-gx0-f211.google.com [209.85.217.211]) by mx1.freebsd.org (Postfix) with ESMTP id 1D5208FC0C for ; Tue, 13 Apr 2010 23:26:51 +0000 (UTC) Received: by gxk3 with SMTP id 3so3706541gxk.13 for ; Tue, 13 Apr 2010 16:26:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:date:received:message-id :subject:from:to:content-type; bh=cZIXNu9Nu0OQs7xoWHegbFpLLHlLNMoNRL/q+S6w230=; b=jrAtaK5YpKam7iQ0YnY4iOZXO47u720Qwx6Twx5Qni4o1Xr4huSv07gmpgEwAidP3C Orc8aK63WTZKhryXY9Ov35oymSnBguNQ/aWH3TVUPfVMzVO7NwJxRr8lcjPUTsl4nORM NzpiEu1xoLDK/y2wx0x3+VIKNe3ZVjQqTSGGU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=tXYgPW7Ui8OSGeLZXPyBJioBRrWmd/FUaXiOhk/J0yIa+gt3IFoGHJ5uCP8mG16jPl wEJwfFUv1xcgtSA8OJUVig45fl/e5GCdbymz8b9GL9ILWx+ZzEg4qQlSh3MPvNjmCJAb 9gbWcKP3KAsyPnCEjGyeHG+bfcAapzsnhgs+U= MIME-Version: 1.0 Received: by 10.231.206.142 with HTTP; Tue, 13 Apr 2010 16:00:48 -0700 (PDT) Date: Tue, 13 Apr 2010 23:00:48 +0000 Received: by 10.91.41.19 with SMTP id t19mr2990912agj.3.1271199648263; Tue, 13 Apr 2010 16:00:48 -0700 (PDT) Message-ID: From: Knowledge Seeker To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: RPC and NFS more than 16 groups 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, 13 Apr 2010 23:26:52 -0000 Hi, I need to have my NFS server to authenticate more than 16 groups when there is a file access. I would like to know if I can just redefine my MACROS to accomplish that. The macro would be: NGRPS, because it is tested against the variable ngroups which comes from NGROUPS value. /* gids compose part of a credential; there may not be more than 16 of them */ #define NGRPS 16 In: sys/rpc/authunix_prot.c sys/rpc/svc_auth_unix.c usr.sbin/rpc.lockd/kern.c include/rpc/auth_unix.h lib/libc/rpc/PSD.doc/xdr.nts.ms Is there any critical issue in change the defs and recompile the kernel and the world? Thanks in advance. Regards -- Knoseeker