Hi
Is it possible to use a local netgroup file instead of the NIS netgroup map on a filer ( ontap 6.1.2R2 ). I have too much hosts to put in /etc/exports file
Yes, a local netgroup file may be used. You simply need to create the /etc/netgroup file on the filer. It might be a good idea to create an /etc/nsswitch.conf file on the filer as well to look something like the following.
-gdg
mspadmin1.dal.mslp.ti.com[18]% cat nsswitch.conf hosts: files dns passwd: files nis netgroup: files group: files nis shadow: files nis mspadmin1.dal.mslp.ti.com[19]%
Frank Bonnet wrote:
Hi
Is it possible to use a local netgroup file instead of the NIS netgroup map on a filer ( ontap 6.1.2R2 ). I have too much hosts to put in /etc/exports file
-- Frank Bonnet
Frank, I don't know about local netgroups anymore (got away from those a very long time ago). We do use NIS netgroups in our exports for the access= however we are still specifying hosts in the root= and the rw=.
Does anyone know if the root= and rw= will be accepting netgroups? We tried to get this to work a few months ago and it didn't. Last night I spent quite some time auditing the exports file on all 22 of our filers (each with more than 10 lines) and the root=/rw= were what took the bulk of the time.
C-
On Thu, Apr 11, 2002 at 11:36:36AM +0200, Frank Bonnet wrote:
Hi
Is it possible to use a local netgroup file instead of the NIS netgroup map on a filer ( ontap 6.1.2R2 ). I have too much hosts to put in /etc/exports file
-- Frank Bonnet
netgroup ARE ONLY NIS related, cannot have non-nis netgroup file.
In the nsswitch.conf
netgroup: nis
your dfstab or exports file would have this entry:
share -F nfs -o ro=xyz-hosts /utilities
xyz-hosts is your entry wihin the netgroup nis map
hope this helps
-----Original Message----- From: owner-toasters@mathworks.com [mailto:owner-toasters@mathworks.com]On Behalf Of Chris Blackmor Sent: Thursday, April 11, 2002 6:55 AM To: Frank Bonnet Cc: toasters@mathworks.com Subject: Re: local netgroup ?
Frank, I don't know about local netgroups anymore (got away from those a very long time ago). We do use NIS netgroups in our exports for the access= however we are still specifying hosts in the root= and the rw=.
Does anyone know if the root= and rw= will be accepting netgroups? We tried to get this to work a few months ago and it didn't. Last night I spent quite some time auditing the exports file on all 22 of our filers (each with more than 10 lines) and the root=/rw= were what took the bulk of the time.
C-
On Thu, Apr 11, 2002 at 11:36:36AM +0200, Frank Bonnet wrote:
Hi
Is it possible to use a local netgroup file instead of the NIS netgroup map on a filer ( ontap 6.1.2R2 ). I have too much hosts to put in /etc/exports file
-- Frank Bonnet
-- ---------------------------------------------------------------------------- - * Chris Blackmor _______ | * * Advanced Micro Devices ____ | | A good horse never comes * * Phone: (512) 602-1608 /| | | | in a bad color! * * Fax: (512) 602-5155 | |___| | | * * Email: chris.blackmor@amd.com |____/ | | Author Unknown* ---------------------------------------------------------------------------- - * My comments are mine, and mine alone. * ---------------------------------------------------------------------------- -
upendra.gandhi@oracle.com (Upendra Gandhi) writes:
netgroup ARE ONLY NIS related, cannot have non-nis netgroup file.
In the nsswitch.conf
netgroup: nis
your dfstab or exports file would have this entry:
share -F nfs -o ro=xyz-hosts /utilities
xyz-hosts is your entry wihin the netgroup nis map
hope this helps
You are talking about a restriction that exists in Solaris (and maybe other Unix systems). The original question was about /etc/netgroup on a filer: there is no such restriction there. Indeed, support for /etc/netgroup on filers long predates that for NIS, etc.
Chris Thompson University of Cambridge Computing Service, Email: cet1@ucs.cam.ac.uk New Museums Site, Cambridge CB2 3QH, Phone: +44 1223 334715 United Kingdom.