home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.ultrix
- Path: sparky!uunet!usc!cs.utexas.edu!torn!news.ccs.queensu.ca!qucdnee.ee.queensu.ca!rick
- From: rick@qucdnee.ee.queensu.ca
- Subject: netgroup; serving filesystems to a group of hosts
- Message-ID: <1992Sep13.173937.1@qucdnee.ee.queensu.ca>
- Lines: 63
- Sender: news@knot.ccs.queensu.ca (Netnews control)
- Organization: Queen's University EE Department
- Date: Sun, 13 Sep 1992 22:39:37 GMT
-
-
-
- my list of questions continues; apologies in advance. guaranteed no
- flame-free post, though. :-)
-
- setup: DS5000/240 (32 meg, 2 rz57, rrd42, 8 mm, ultrix 4.2a) as a
- server, with 24 DS5000/20 (12 meg, rz23l) as clients.
-
- because we anticipate running DECathena sometime RSN, we're using
- BIND/Hesiod to serve all of the databases that it can. there is one
- database (netgroup) that we'd like to serve via yp. (for one thing, it
- would be much cleaner to put a reference to a netgroup in the server's
- /etc/exports file.)
-
- so i configured yp, and set up a test client. yp appears to work with
- the other (non-netgroup :-) databases. everyone's /etc/svc.conf has
- netgroup being served via yp. the server's netgroup source starts something
- like:
-
- labhosts (decsqurl,-,declab.queensu.ca)\
- (cerebus,-,declab.queensu.ca)\
- (astoria,-,declab.queensu.ca)\
- (stuff deleted)
- (mattere,,declab.queensu.ca)
- labusers (cerebus,,declab.queensu.ca)\
- (and so on)
-
- i do a make. all the database files appear to be built.
- ypcat -k netgroup
- appears to produce the expected output, but
- ypcat -k netgroup.byhost
- produces ONLY
-
- decsqurl.declab.queensu.ca labhosts
- cerebus.declab.queensu.ca labusers
-
- which certainly doesn't look complete. according to the makefile,
- netgroup.byuser and netgroup.byhost are produced by running
- revnetgroup on the netgroup source, then using that output as input
- to makedbm. revnetgroup APPEARS to be getting just the first line of
- each group definition:
-
- # revnetgroup -h <src/netgroup
- cerebus.declab.queensu.ca labusers
- decsqurl.declab.queensu.ca labhosts
- #
-
- from here i'm guessing. i've tried building netgroup.byhost and
- netgroup.byuser by hand three or four different ways. i have NEVER
- managed to get a client to mount a disk served to "labhosts"; i keep
- getting the dreaded "nfs_mount: access denied" error.
-
- i can't find anything in the documentation that has proved helpful.
- does anyone have any hints or experience that they can share?
-
- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
- Rick Pim bitnet:rick@qucdnee
- Department of Electrical Engineering rick@qucdnee.ee.queensu.ca
- Queen's University, Kingston (bitnet:rick@qucdnast)
- (613) 545-6772 (rick@bill.phy.queensu.ca)
- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
- "Hello? Hello? This is your dictator speaking."
- -- Moon Over Parador
-