From owner-freebsd-questions Thu Dec 21 0:10:21 2000 From owner-freebsd-questions@FreeBSD.ORG Thu Dec 21 00:10:19 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mail1.rdc2.bc.home.com (mail1.rdc2.bc.home.com [24.2.10.84]) by hub.freebsd.org (Postfix) with ESMTP id 1616E37B402 for ; Thu, 21 Dec 2000 00:10:19 -0800 (PST) Received: from zzube.com ([24.113.224.184]) by mail1.rdc2.bc.home.com (InterMail vM.4.01.03.00 201-229-121) with ESMTP id <20001221081017.XOMJ21446.mail1.rdc2.bc.home.com@zzube.com> for ; Thu, 21 Dec 2000 00:10:17 -0800 Message-ID: <3A414A65.A1114E34@zzube.com> Date: Thu, 21 Dec 2000 00:10:13 +0000 From: Paul Wolstenholme Organization: SMA WebWare X-Mailer: Mozilla 4.72 [en] (Win98; U) X-Accept-Language: en, pdf MIME-Version: 1.0 To: "questions@FreeBSD.ORG" Subject: Netgroups and NFS Content-Type: multipart/mixed; boundary="------------846B359F432684704BABF4DC" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. --------------846B359F432684704BABF4DC Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, I have been trying to get the hang of nis and nfs this week and everything seems to be working great except for one thing: using netgroups in the exports file. I would like to specify a netgroup that specifies a number of machines that can mount the exported file system. I have setup a netgroup file in /var/yp. Right now it has on entry: lab (pw,,mynet) (nw,,mynet) I then typed make to recreate the map files. In my export file I created an entry: /home -maproot=0 -alldirs lab pw# /sbin/mount_nfs oscar:/home /oscar/home mount_nfs: can't access /home: Permission denied From the examples in the man page this should work (/usr /usr/local -maproot=0:10 friends where friends is a netgroup). If I change 'lab' to the machine names it works fine. --------------846B359F432684704BABF4DC Content-Type: text/x-vcard; charset=us-ascii; name="paul.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Paul Wolstenholme Content-Disposition: attachment; filename="paul.vcf" begin:vcard n:Wolstenholme;Paul x-mozilla-html:FALSE org:SMA Webware adr:;;;;;; version:2.1 email;internet:paul@zzube.com note;quoted-printable:-----BEGIN PGP PUBLIC KEY BLOCK-----=0D=0AVersion: PGPfreeware 6.5.2 for non-commercial use =0D=0A=0D=0AmQENAziGD+8AAAEIAN/sBjsAb6WDbV/qluL84+8WEFeKeaNJz6tn7Apv9r2AQDij=0D=0ANGzTtI+LEa/9xjldoBVMU1xJ3/PIldVRYEV+DFuk9QSy9NXZIVMHJ4QtpgKtHA3I=0D=0ArW14kJFnQVxKZtotdqPKIEA6p5MwU0tomsclW7f6KM8OorTi50JiFAj9ChHZFEFg=0D=0AAouW5EcmpGbsEeFXaoGc966YIFJAVQdeiVodyx9N89X0nMFnI9pFeAWB5ZBvCQtv=0D=0Aa4kG6em8AhmFt0A07+GibkCEv0Skh4rFVXQtmnK1mqbvcI3Il1VZ/8U4YLPjXs/m=0D=0AfFbFwKs1ONUrMTcUaNUTwLupq8N4qYnNswx35BMABRG0I1BhdWwgV29sc3Rlbmhv=0D=0AbG1lIDx3b2xzdGVuYUBzZnUuY2E+iQEVAwUQOIYP76mJzbMMd+QTAQGEsQf9Ereu=0D=0A6o6AVeKYE9jQPvYzLZUHLObpVyDhYT2RTiXaX9MroSWwxIFuINy92AGiDshqYufY=0D=0AACZH5yRJgyBhKLgMkl48Sr0bfsu7P20Uch2F0JCYz6UhS6tV/LS+3eueh55a03Mm=0D=0AScE4HitUVLJTyddaSQZAS2yL0lrylLUWfja3tt/bV1J+pHcQa+WHfX5ZEsGhIE/E=0D=0Ahm6eGYrOjfaFRmIyOcCVZh0umjRYu2GguKIiFGNPb81CV7mzkdNXWpiuSkRlXhv+=0D=0A0yeq1e9Bxg9xRITgvDqH+zbrgiChIcjjX0raKHadlNclOMrELgJjWHc+1iuo845S=0D=0AUBCIEjVYoiAT7TopJA=3D=3D=0D=0A=3DdMDP=0D=0A-----END PGP PUBLIC KEY BLOCK----- x-mozilla-cpt:;-19136 fn:Paul Wolstenholme end:vcard --------------846B359F432684704BABF4DC-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message