Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Re: HP -> DEC nfs netgroup PROBLEM
  1992-10-29 16:37 HP -> DEC nfs netgroup PROBLEM meilak
@ 1992-10-29 11:46 ` Ken Hornstein
  1992-10-29 13:29   ` Larry Cannell
  0 siblings, 1 reply; 6+ messages in thread
From: Ken Hornstein @ 1992-10-29 11:46 UTC (permalink / raw)


In article <1992Oct29.113753.57515@qut.edu.au> meilak@qut.edu.au writes:
>hi
>
>we are having a few problems getting a DEC 5000/25 workstation to mount
>a filesystem exported from a HP 9000/730 when using the DEC in a netgroup.
>It works fine when its specified as a separated entry in /etc/exports on the HP.
>
>Our site uses netgroups to control all exported filesystem access,
>(except when its a dec, which must be specified in /etc/exports).
>As we have a few to add to the network, it would be nice if it could be done
>simply. 

Even though the man page for mountd claims otherwise, you can't put netgroups
in /etc/exports.  (well, you CAN, they just won't do anything useful).  I
wouldn't mind this so much if it wasn't DOCUMENTED INCORRECTLY.  Argh.

--Ken


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: HP -> DEC nfs netgroup PROBLEM
  1992-10-29 11:46 ` Ken Hornstein
@ 1992-10-29 13:29   ` Larry Cannell
  1992-10-30  0:08     ` Ken Hornstein
  0 siblings, 1 reply; 6+ messages in thread
From: Larry Cannell @ 1992-10-29 13:29 UTC (permalink / raw)


Ken Hornstein (kenh@leps5.phys.psu.edu) wrote:
: 
: Even though the man page for mountd claims otherwise, you can't put netgroups
: in /etc/exports.  (well, you CAN, they just won't do anything useful).  I
: wouldn't mind this so much if it wasn't DOCUMENTED INCORRECTLY.  Argh.
: 
: --Ken

That's news to me.  I've been using netgroups in /etc/exports for a number of
months now and don't appear to be having any problems.  Perhaps you could 
elaborate on "can't put netgroups in /etc/exports".  Maybe I'm missing
something obvious in our configuration.

--
Larry Cannell (cannell@ed8200.ped.pto.ford.com)
Powertrain Electronics
Ford Motor Company


^ permalink raw reply	[flat|nested] 6+ messages in thread

* HP -> DEC nfs netgroup PROBLEM
@ 1992-10-29 16:37 meilak
  1992-10-29 11:46 ` Ken Hornstein
  0 siblings, 1 reply; 6+ messages in thread
From: meilak @ 1992-10-29 16:37 UTC (permalink / raw)


hi

we are having a few problems getting a DEC 5000/25 workstation to mount
a filesystem exported from a HP 9000/730 when using the DEC in a netgroup.
It works fine when its specified as a separated entry in /etc/exports on the HP.

Our site uses netgroups to control all exported filesystem access,
(except when its a dec, which must be specified in /etc/exports).
As we have a few to add to the network, it would be nice if it could be done
simply. 

We have no problems with Suns, Silicon G., all HP, but no luck with dec.
Modifying svc.conf does not help.

HP version 8.07 , DEC version 4.2A

Any ideas?

thanks

bjm


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: HP -> DEC nfs netgroup PROBLEM
  1992-10-29 13:29   ` Larry Cannell
@ 1992-10-30  0:08     ` Ken Hornstein
  1992-10-30 13:33       ` Peter W. Flur
  1992-11-05  6:17       ` Tom Arons
  0 siblings, 2 replies; 6+ messages in thread
From: Ken Hornstein @ 1992-10-30  0:08 UTC (permalink / raw)


In article <1992Oct29.132948.24920@e3u001.ped.pto.ford.com> cannell@ed8217.ped.pto.ford.com (Larry Cannell) writes:
>Ken Hornstein (kenh@leps5.phys.psu.edu) wrote:
>: 
>: Even though the man page for mountd claims otherwise, you can't put netgroups
>: in /etc/exports.  (well, you CAN, they just won't do anything useful).  I
>: wouldn't mind this so much if it wasn't DOCUMENTED INCORRECTLY.  Argh.
>: 
>: --Ken
>
>That's news to me.  I've been using netgroups in /etc/exports for a number of
>months now and don't appear to be having any problems.  Perhaps you could 
>elaborate on "can't put netgroups in /etc/exports".  Maybe I'm missing
>something obvious in our configuration.

Fair enough.  I have the following entry in our netgroups map:

physics		(annett.phys.psu.edu,,) (banavar.phys.psu.edu,,)\
		(bangalore.phys.psu.edu,,) (collins.phys.psu.edu,,)\
		(corsica.phys.psu.edu,,) (etat.phys.psu.edu,,)\
		(faraday.phys.psu.edu,,) (glue.phys.psu.edu,,)\
		(neutron.phys.psu.edu,,) (phoenix.phys.psu.edu,,)\
		(psuphys1.phys.psu.edu,,) (quixote.phys.psu.edu,,)\
		(color.phys.psu.edu,,) (willis.phys.psu.edu,,)

and this line in /etc/exports:

/export/home	physics

So, for example, the host color.phys.psu.edu, should be able to mount
/export/home, right?  I get permission denied.  If I put color.phys.psu.edu
in the export line, it works.  Major blah.  This doesn't work on our ultrix
4.0 and our ultrix 4.3 system.

--Ken


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: HP -> DEC nfs netgroup PROBLEM
  1992-10-30  0:08     ` Ken Hornstein
@ 1992-10-30 13:33       ` Peter W. Flur
  1992-11-05  6:17       ` Tom Arons
  1 sibling, 0 replies; 6+ messages in thread
From: Peter W. Flur @ 1992-10-30 13:33 UTC (permalink / raw)


In article <Bwwr2q.3wG@cs.psu.edu>, kenh@leps5.phys.psu.edu (Ken Hornstein) writes:
|-> In article <1992Oct29.132948.24920@e3u001.ped.pto.ford.com> cannell@ed8217.ped.pto.ford.com (Larry Cannell) writes:
|-> >Ken Hornstein (kenh@leps5.phys.psu.edu) wrote:
|-> >: 
|-> >: Even though the man page for mountd claims otherwise, you can't put netgroups
|-> >: in /etc/exports.  (well, you CAN, they just won't do anything useful).  I
|-> >: wouldn't mind this so much if it wasn't DOCUMENTED INCORRECTLY.  Argh.
|-> >: 
|-> >: --Ken
|-> >
|-> >That's news to me.  I've been using netgroups in /etc/exports for a number of
|-> >months now and don't appear to be having any problems.  Perhaps you could 
|-> >elaborate on "can't put netgroups in /etc/exports".  Maybe I'm missing
|-> >something obvious in our configuration.
|-> 
|-> Fair enough.  I have the following entry in our netgroups map:
|-> 
|-> physics		(annett.phys.psu.edu,,) (banavar.phys.psu.edu,,)\
|-> 		(bangalore.phys.psu.edu,,) (collins.phys.psu.edu,,)\
|-> 		(corsica.phys.psu.edu,,) (etat.phys.psu.edu,,)\
|-> 		(faraday.phys.psu.edu,,) (glue.phys.psu.edu,,)\
|-> 		(neutron.phys.psu.edu,,) (phoenix.phys.psu.edu,,)\
|-> 		(psuphys1.phys.psu.edu,,) (quixote.phys.psu.edu,,)\
|-> 		(color.phys.psu.edu,,) (willis.phys.psu.edu,,)
|-> 
|-> and this line in /etc/exports:
|-> 
|-> /export/home	physics
|-> 
|-> So, for example, the host color.phys.psu.edu, should be able to mount
|-> /export/home, right?  I get permission denied.  If I put color.phys.psu.edu
|-> in the export line, it works.  Major blah.  This doesn't work on our ultrix
|-> 4.0 and our ultrix 4.3 system.
|-> 
|-> --Ken

The HP nfsd's and mountd's don't understand fully qualified hostnames.  If
you modify your netgroups to include both fully qualified names as well
as just individual names, it will work fine.  Kind of a security hole, you
say?  You betcha.

Peter
-- 
-----------------------------------------------------------------------
     Peter Flur, Research Engineer - School of EE, Georgia Tech
       E-MAIL: peter.flur@ee.gatech.edu PHONE: (404) 853-9355
     DUKE UNIVERSITY -- 1991 & 1992 NCAA BASKETBALL CHAMPIONS!!!
            The Duke Dynasty Rolls  --- ThreePeat '93


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: HP -> DEC nfs netgroup PROBLEM
  1992-10-30  0:08     ` Ken Hornstein
  1992-10-30 13:33       ` Peter W. Flur
@ 1992-11-05  6:17       ` Tom Arons
  1 sibling, 0 replies; 6+ messages in thread
From: Tom Arons @ 1992-11-05  6:17 UTC (permalink / raw)



   Fair enough.  I have the following entry in our netgroups map:

   physics		(annett.phys.psu.edu,,) (banavar.phys.psu.edu,,)\
		   (bangalore.phys.psu.edu,,) (collins.phys.psu.edu,,)\
		   (corsica.phys.psu.edu,,) (etat.phys.psu.edu,,)\
		   (faraday.phys.psu.edu,,) (glue.phys.psu.edu,,)\
		   (neutron.phys.psu.edu,,) (phoenix.phys.psu.edu,,)\
		   (psuphys1.phys.psu.edu,,) (quixote.phys.psu.edu,,)\
		   (color.phys.psu.edu,,) (willis.phys.psu.edu,,)

   and this line in /etc/exports:

   /export/home	physics

   So, for example, the host color.phys.psu.edu, should be able to mount
   /export/home, right?  I get permission denied.  If I put color.phys.psu.edu
   in the export line, it works.  Major blah.  This doesn't work on our ultrix
   4.0 and our ultrix 4.3 system.

What I have had to do to get netgroups to work in a heterogenous system is make
a netgroup for each host consisting of the unqualified and fully qualified
host name. This is because different versions of NFS get the host names 
different ways.  What has worked for us for several years over a couple of
hundred systems from a wide variety of vendors and operating systems, 
including various versions of hp-ux and ultrix is something like this:

In /etc/netgroup:
ash (ash,-,nis.ece) (ash.ece.ucdavis.edu,-,nis.ece)
elm (elm,-,nis.ece) (elm.ece.ucdavis.edu,-,nis.ece)

trees	ash elm

You can then use trees in /etc/exports.

/etc/netgroup is actually generated from a script that uses a
set of host and user lists controlled by various lab managers. nis.ece is
the name of the nis domain.  It is listed explicitly, along with the '-'
because otherwise a rather small number of entries will break some size
limit that makedbm imposes (I think. It's been a while since I put this
stuff together).  Anyway, my job would be immensely more complicated if
netgroups did not work, thank goodness they do.

Tom Arons			Internet: arons@ece.ucdavis.edu
ECE Department
University of California
Davis, CA 95616			Phone:    (916) 752-1750

 Tom


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~1992-11-05  6:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1992-10-29 16:37 HP -> DEC nfs netgroup PROBLEM meilak
1992-10-29 11:46 ` Ken Hornstein
1992-10-29 13:29   ` Larry Cannell
1992-10-30  0:08     ` Ken Hornstein
1992-10-30 13:33       ` Peter W. Flur
1992-11-05  6:17       ` Tom Arons

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox