Date: 25 Aug 1999 14:12:19 -0000 From: vladimir@math.uic.edu To: freebsd-questions@FreeBSD.ORG, greg@rosevale.com.au Subject: Re: nis netgroup problems -- explained but not solved Message-ID: <19990825141219.26990.qmail@math.uic.edu>
next in thread | raw e-mail | index | archive | help
To answer my own question, I have found the following in Solaris FAQ: Solaris 2 FAQ (p50 of 82) 4.7) Ypcat doesn't work on the netgroup table on a NIS+ server, why? Yes, that is a known problem. The only operations allowed from a NIS client side on the netgroup table are the ypmatches, but not ypcat (i.e. no support for yp_first(), yp_next() or yp_all() calls). The netgroup table is kind of unique in this. The reason for this is that the netgroup table format changed quite significantly in NIS+ and the NIS+ server would take a big performance hit in converting the netgroups table to YP (key-value) format. I should have checked there before posting. Argh. One would think Sun should give users an option to decide whether they want this "performance hit" or not. A flag to rpc.nisd for example. Vladimir >From owner-freebsd-questions@FreeBSD.ORG Wed Aug 25 13:37:27 1999 >Delivered-To: vladimir-bsd-questions@mailhost2.math.uic.edu >Delivered-To: vladimir-bsd-questions@math.uic.edu >Delivered-To: freebsd-questions@freebsd.org >Date: 25 Aug 1999 13:35:49 -0000 >From: vladimir@math.uic.edu >To: freebsd-questions@FreeBSD.ORG, greg@rosevale.com.au >Subject: Re: nis netgroup problems >X-Loop: FreeBSD.ORG > > >> Hi folks, > >> > >> I have a Solaris nis+ server (with rpc.nisd running in nis compatibility mode, > >> which means it should answer requests from nis clients), and a FreeBSD 3.2-STABLE > >> nis client. I can ypcat passwd, hosts, protocols, etc, but not netgroup. > >> 'ypcat netgroup' doesn't give any output or error messages. If you had the same > > > >No output suggests to me that the map is empty. > > > >Greg. > > > > > >That would be easy:-) Unfortunately it is not empty on solaris machines (I can niscat >netgroup.org_dir for example), and it becomes empty on a freebsd (or a linux) client. > > Vladimir > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990825141219.26990.qmail>