From owner-freebsd-questions Wed Aug 25 7:13: 8 1999 Delivered-To: freebsd-questions@freebsd.org Received: from newton.math.uic.edu (newton.math.uic.edu [131.193.178.229]) by hub.freebsd.org (Postfix) with SMTP id A65D314F66 for ; Wed, 25 Aug 1999 07:12:52 -0700 (PDT) (envelope-from vladimir@math.uic.edu) Received: (qmail 17366 invoked from network); 25 Aug 1999 14:12:20 -0000 Received: from galois.math.uic.edu (HELO math.uic.edu) (131.193.178.114) by newton.math.uic.edu with SMTP; 25 Aug 1999 14:12:20 -0000 Received: (qmail 26991 invoked by uid 31415); 25 Aug 1999 14:12:19 -0000 Date: 25 Aug 1999 14:12:19 -0000 Message-ID: <19990825141219.26990.qmail@math.uic.edu> From: vladimir@math.uic.edu To: freebsd-questions@FreeBSD.ORG, greg@rosevale.com.au Subject: Re: nis netgroup problems -- explained but not solved Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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