From owner-freebsd-questions@FreeBSD.ORG Tue Aug 21 19:44:36 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 20AFF16A417 for ; Tue, 21 Aug 2007 19:44:36 +0000 (UTC) (envelope-from ges+lists@wingfoot.org) Received: from wingfoot.org (caduceus.wingfoot.org [64.32.179.50]) by mx1.freebsd.org (Postfix) with ESMTP id A23FF13C442 for ; Tue, 21 Aug 2007 19:44:35 +0000 (UTC) (envelope-from ges+lists@wingfoot.org) Received: from localhost (localhost [127.0.0.1]) by wingfoot.org (Postfix) with ESMTP id 8C5421F445C; Tue, 21 Aug 2007 15:44:34 -0400 (EDT) X-Virus-Scanned: amavisd-new at wingfoot.org Received: from wingfoot.org ([127.0.0.1]) by localhost (wingfoot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QsQBW0OSQvPq; Tue, 21 Aug 2007 15:44:29 -0400 (EDT) Received: from www.wingfoot.org (localhost [127.0.0.1]) by wingfoot.org (Postfix) with ESMTP id E426A1F4407; Tue, 21 Aug 2007 15:44:28 -0400 (EDT) Received: from 135.245.152.33 (SquirrelMail authenticated user ges) by www.wingfoot.org with HTTP; Tue, 21 Aug 2007 15:44:29 -0400 (EDT) Message-ID: <23979.135.245.152.33.1187725469.squirrel@www.wingfoot.org> In-Reply-To: <200708211425.02054.freebsd@dfwlp.com> References: <41081.135.245.152.33.1187720214.squirrel@www.wingfoot.org> <200708211425.02054.freebsd@dfwlp.com> Date: Tue, 21 Aug 2007 15:44:29 -0400 (EDT) From: "Glenn Sieb" To: "Jonathan Horne" User-Agent: SquirrelMail/1.4.9a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-questions@freebsd.org Subject: Re: NFS /etc/exports question.. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Aug 2007 19:44:36 -0000 Hi Jonathan! Jonathan Horne wrote: > On Tuesday 21 August 2007 13:16:54 Glenn Sieb wrote: >> /u2 -alldirs... > > first up, that line negates the need for: > > /u2/opt/portage -alldirs.... > > alldirs, is all dirs! anything underneath is then redundant. Understood. Fixed that. >> /u2 -alldirs -maproot=root important1.domain.com important2.domain.com > > probably requires correctly configured DNS or proper entries in the hosts > files. while you are working this problem out, i would eliminate that > line, as it might be conflicting with: > > >>/u2 -alldirs -network 127.0.0.0 -mask 255.255.255.0 >>/u2 -alldirs -network 10.0.5.0 -mask 255.255.255.0 Yes, because this was the question I had originally.. :) How can I make sure that I get -maproot=root on those two named boxes, which live inside the 127.0.0.0/255 network, while still allowing the rest of the boxes present in both other subnets to access the shared *without* -maproot=root? The errors I posted were specifically complaining about the 127.0.0.0 and 10.0.5.0 network lines (note, for security I am not posting the real network ranges). The two boxes in question, do have working DNS, and are boxes we use as our NIS masters, so I need to be able to create home directories on the fileserver, where the home directories live, hence needing maproot. The other boxes in the 127.0.0.0/255 range are other servers in my cluster, which need to mount directories from the fileserver--and in my case, a lot of users have sudo capability for testing/development purposes, so I don't want them having -maproot=root capability on those other servers. 10.0.5.0 is a range of IPs where my users mount their home directories and shared tools directories on their desktop boxes. Does this clear up my question? Thanks in advance! Best, --Glenn