From owner-freebsd-questions@FreeBSD.ORG Sat Oct 9 19:26:16 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 10E2316A4CE for ; Sat, 9 Oct 2004 19:26:16 +0000 (GMT) Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 1CE3443D46 for ; Sat, 9 Oct 2004 19:26:15 +0000 (GMT) (envelope-from Emanuel.Strobl@gmx.net) Received: (qmail 29745 invoked by uid 65534); 9 Oct 2004 19:26:14 -0000 Received: from flb.schmalzbauer.de (EHLO cale.flintsbach.schmalzbauer.de) (62.245.232.135) by mail.gmx.net (mp007) with SMTP; 09 Oct 2004 21:26:14 +0200 X-Authenticated: #301138 From: Emanuel Strobl To: freebsd-questions@freebsd.org Date: Sat, 9 Oct 2004 21:26:04 +0200 User-Agent: KMail/1.7 References: <20041009182723.M39513@maa-net.net> In-Reply-To: <20041009182723.M39513@maa-net.net> X-OS: FreeBSD X-Birthday: 10/06/72 X-Address: Munich, 80686 X-Tel: +49 89 18947781 X-CelPhone: +49 173 9967781 X-Country: Germany MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1673481.Z2yvV37Aq4"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200410092126.06242.Emanuel.Strobl@gmx.net> cc: questions@freebsd.org cc: michaela Subject: Re: NFS(d) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Oct 2004 19:26:16 -0000 --nextPart1673481.Z2yvV37Aq4 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Am Samstag, 9. Oktober 2004 20:41 schrieb michaela: > I was attempting to setup NFS between my usermachine (nfs-client) and > emailserver (nfs-server) using the instructions from the FreeBSD Handbook > (section 19.5). Both machines are on my LAN. > > I wanted to have my users be able to get their email straight from > the /var/mail directory via NFS, as opposed to having it fetched remotely > via PINE. > > Everything runs great, EXCEPT... When I goto look at the /var/mail > directory on the usermachine I get this listing..... > > (michaela@bsd)-># ls -l /var/mail > total 584 > -rw-rw---- 1 apticle mail 0 Oct 9 01:33 .apticle.pop > -rw-rw---- 1 1003 mail 0 Oct 9 12:25 .cyberjedi.pop > -rw-rw---- 1 stunnel mail 0 Oct 8 17:21 .jisaac.pop > -rw-rw---- 1 cyberjedi mail 0 Oct 9 14:24 .michaela.pop > -rw-rw---- 1 michaela mail 0 Oct 8 07:42 .sysadmin.pop > -rw-rw---- 1 apticle mail 0 Oct 9 01:33 apticle > -rw-rw---- 1 astronut mail 0 Sep 4 14:34 astronut > -rw-rw---- 1 mtanaki mail 3256 Sep 16 11:02 babyboy > -rw------- 1 106 106 0 Sep 5 01:07 clamav > -rw-rw---- 1 babyboy mail 0 Sep 4 14:35 cpu > -rw-rw---- 1 1003 mail 0 Oct 9 12:37 cyberjedi > -rw-rw---- 1 sysadmin mail 0 Sep 4 22:26 donations > -rw-rw---- 1 stunnel mail 0 Oct 8 17:21 jisaac > -rw-rw---- 1 cyberjedi mail 0 Oct 9 14:24 michaela > -rw-rw---- 1 clamav mail 380174 Oct 5 11:19 michaeljr > -rw-rw---- 1 goose mail 0 Sep 4 14:36 mtanaki > -rw------- 1 70 70 0 Sep 12 14:03 pgsql > -rw------- 1 root wheel 162836 Oct 9 04:19 root > -rw------- 1 cpu stunnel 0 Sep 8 16:21 stunnel > -rw-rw---- 1 michaela wheel 18523 Oct 9 06:00 sysadmin > -rw-rw---- 1 trivash mail 0 Sep 4 14:38 trivash > (michaela@bsd)-># > > > Notice how the OWNERS and GROUPS of certain users (entries) don't belong = to > the proper "owners". This causes, "PERMISSION DENIED" errors while trying > to read email in PINE because the mailbox isn't 'owned' by the specific > user. > > The /var/mail directory on my usermachine (nfs-client) is the same as on > the emailserver (nfs-server). However, when running NFS the > filepermissions change the /var/mail directory on the userserver > (nfs-client). > > I have the option -maproot=3Droot in my /etc/exports file on the emailser= ver > (nfs-server). > > Any idea to what might be causing this, and how I would resolve it??? I > was thinking that even though I have the SAME users on each box, the UIDs > are DIFFERENT on the two machines. Could that be it????? Right, only UID counts. You want to think about yp/nis or a LDAP user=20 database! But you have to synchronize UIDs and GIDs to make NFS useful. =2DHarry > > > Thanks in advance.... > > >> Michael > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" --nextPart1673481.Z2yvV37Aq4 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBBaDtOBylq0S4AzzwRAkPqAJ4pwPsBmqM0a51N8S7SkdXOVk1crQCfX4tB uyAVQntGap3qK6sle9FTwY8= =t4Yx -----END PGP SIGNATURE----- --nextPart1673481.Z2yvV37Aq4--