From owner-freebsd-arch Mon Apr 9 12:13: 6 2001 Delivered-To: freebsd-arch@freebsd.org Received: from smtp04.primenet.com (smtp04.primenet.com [206.165.6.134]) by hub.freebsd.org (Postfix) with ESMTP id B2FBB37B422; Mon, 9 Apr 2001 12:13:01 -0700 (PDT) (envelope-from tlambert@usr08.primenet.com) Received: (from daemon@localhost) by smtp04.primenet.com (8.9.3/8.9.3) id MAA17703; Mon, 9 Apr 2001 12:12:40 -0700 (MST) Received: from usr08.primenet.com(206.165.6.208) via SMTP by smtp04.primenet.com, id smtpdAAAQ9aGCI; Mon Apr 9 12:12:33 2001 Received: (from tlambert@localhost) by usr08.primenet.com (8.8.5/8.8.5) id MAA27312; Mon, 9 Apr 2001 12:12:42 -0700 (MST) From: Terry Lambert Message-Id: <200104091912.MAA27312@usr08.primenet.com> Subject: Re: Eliminate crget() from nfs kernel code? To: rwatson@FreeBSD.ORG (Robert Watson) Date: Mon, 9 Apr 2001 19:12:41 +0000 (GMT) Cc: dillon@earth.backplane.com (Matt Dillon), tlambert@primenet.com (Terry Lambert), freebsd-arch@FreeBSD.ORG In-Reply-To: from "Robert Watson" at Apr 06, 2001 09:53:32 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Ok, I've committed a change to 5.0-CURRENT to move to simply using the > p->p_ucred rather than constructing a ucred using crget(). I've interop'd > with Solaris and FreeBSD NFS servers, and it seemed to work fine. I'd > appreciate it if others could do testing -- the primary test is simply > whether "df /your/nfs/mount" running as non-root DTRT. I haven't had a > chance yet, but sometime in the next day or two I'll get out and RPC > dumper (dunno if tcpdump knows how to do this, maybe snoop from Solaris > does) and look at the credentials used for NFSPROC_STATFS requests > generated by other implementations. Chances are, if another already uses > normal non-uid-0 non-gid-0 credentials, then we're safe. Specifically, this should be tested for interoperability with AIX NFS, which can be pissy about credentials which don't exist locally. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message