From owner-freebsd-questions Fri Jan 28 12: 3:38 2000 Delivered-To: freebsd-questions@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id D1BA215DAC for ; Fri, 28 Jan 2000 12:03:07 -0800 (PST) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.9.3/8.9.3) id MAA28942; Fri, 28 Jan 2000 12:27:57 -0800 (PST) Date: Fri, 28 Jan 2000 12:27:56 -0800 From: Alfred Perlstein To: Daniel Forsgren Cc: freebsd-questions@FreeBSD.ORG Subject: Re: File ownerships Message-ID: <20000128122756.H7157@fw.wintelcom.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from forda@ite.mh.se on Fri, Jan 28, 2000 at 02:58:19PM +0100 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Daniel Forsgren [000128 06:26] wrote: > Hello, > > I'm using a FBSD3.4 machine as an access gateway to a cluster of other > FBSD machines. Cluster disks are NFS-mounted on the access machine so that > users may access their home directories on all machines through > Samba/ftp via the gateway. It works fine, but I've noticed one little > problem. Since file ownership is not determined by user names, but rather > by UID number, I'm required to ensure that all users have the same UID on > all machines. Otherwise file ownerships in the gateway directory (where > the remote disk is mounted) will not match the actual file ownership on > the remote machine. Is it possible to make FBSD determine file ownership > using user names instead of UIDs in those directories (I guess it > isn't). Of course, I could duplicate passwd from the gateway to all other > machines each time an user is added to avoid disrepancies, but that would > kill off the possibility of letting users have accounts only on a subset > of the cluster machines.. Unfortunatly that's all NFS allows for, only the UID/GID goes over the wire, so the machine's usebase must be in sync for this to work properly. -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message