Subject: mountd and netgroups
To: None <current-users@sun-lamp.cs.berkeley.edu>
From: Jason Thorpe <thorpej@cs.orst.edu>
List: current-users
Date: 08/10/1994 11:24:31
Is anyone exporting a filesystem to one (or more) netgroups?
Here is my system: (an HP 380)
NetBSD 1.0_BETA (SANTIAM) #2: Mon Aug 8 23:20:19 PDT 1994
thorpej@nemesis:/usr/src/sys/arch/hp300/compile/SANTIAM
Here is the filesystem I'm tring to export:
/dev/ccd0c 1079950 168318 857634 16% /info
Here is /etc/exports:
/info -maproot=root INST-HPS
Here is the netgroup entry: (All one line...Works on our 700s just fine)
INST-HPS (xanth.CS.ORST.EDU,,) (xanth,,) (mundania.CS.ORST.EDU,,) (mundania,,) (
prism.CS.ORST.EDU,,) (prism,,) (santiam.CS.ORST.EDU,,) (santiam,,) (typhoon.CS.O
RST.EDU,,) (typhoon,,) (fender.CS.ORST.EDU,,) (fender,,) (strat.CS.ORST.EDU,,) (
strat,,) (gibson.CS.ORST.EDU,,) (gibson,,) (lespaul.CS.ORST.EDU,,) (lespaul,,)
...produces the following error:
Aug 10 11:12:16 santiam mountd[29799]: Can't change attributes for /info.
Aug 10 11:12:16 santiam mountd[29799]: Bad exports list line /info -maproot
...Ok...Remove the -maproot=root...
Aug 10 11:19:26 santiam mountd[29799]: Can't change attributes for /info.
Aug 10 11:19:26 santiam mountd[29799]: Bad exports list line /info INST-HPS
Well, putting -maproot back and specifying either hostnames or network and mask
works just A-OK...
My application more or less requires the use of netgroups, as there are roughly
several-hundred hosts on about 10 networks that will have access to this
filesystem...Lots of typing :-)
So, did I miss something?
Later...
-----------------------------------------------------------------------------
Jason R. Thorpe thorpej@cs.orst.edu 754-1554
OSU CS Support CSWest Room 12 737-5567
CSOS NetBSD/Symmetry Project
------------------------------------------------------------------------------