From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,7db7cd57156829d3 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1992-03-21 04:09:11 PST Newsgroups: comp.sys.dec Path: sparky!uunet!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!yale!mintaka.lcs.mit.edu!catfish.LCS.MIT.EDU!metcalf From: metcalf@catfish.LCS.MIT.EDU (Chris Metcalf) Subject: Re: <> Message-ID: <1992Mar21.001452.16504@mintaka.lcs.mit.edu> Sender: news@mintaka.lcs.mit.edu Organization: MIT Laboratory for Computer Science References: <1992Mar20.120655.1@sscvx1.ssc.gov> Date: Sat, 21 Mar 1992 00:14:52 GMT In article <1992Mar20.120655.1@sscvx1.ssc.gov> sys_somogyi@sscvx1.ssc.gov says: >I'm having trouble getting netgroup via yellow pages to work for use in >exporting filesystems. Is there something that I'm overlooking?? I beat my head against this for a considerable length of time until I tried using fully-qualified host names in the netgroup. Apparently exports can handle unqualified names in exports, but not netgroup. Yes, this is brain-damaged. I should qualify my solution by saying that we have a local /etc/hosts which we read ahead of DNS, and we list the fully-qualified names of all of our local hosts in it. The general solution is probably just to use the canonical host name, whatever it is, in the netgroup file. (By the way, the netgroup format has spaces between tuples, not commas, so the "group (host1,,) (host2,,)" format is what you should be using. You also should just use "netgroup=yp", since netgroup only works over YP anyway; see "man svc.conf".) -- Chris Metcalf, MIT Laboratory for Computer Science metcalf@lcs.mit.edu // +1 (617) 253-7766