From owner-freebsd-questions Mon Mar 22 7:38:31 1999 Delivered-To: freebsd-questions@freebsd.org Received: from postoffice.onu.edu (postoffice.onu.edu [140.228.10.2]) by hub.freebsd.org (Postfix) with ESMTP id AC749151FF for ; Mon, 22 Mar 1999 07:38:23 -0800 (PST) (envelope-from r-beer@onu.edu) Received: from [140.228.15.35] (asterion.onu.edu [140.228.15.35]) by postoffice.onu.edu (8.8.8/8.8.8) with ESMTP id KAA02737; Mon, 22 Mar 1999 10:37:52 -0500 (EST) (envelope-from r-beer@onu.edu) Message-Id: In-Reply-To: <199903212351.SAA05651@cc942873-a.ewndsr1.nj.home.com> References: from John Baldwin at "Mar 21, 99 06:13:26 pm" Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Mon, 22 Mar 1999 10:39:06 -0500 To: cjclark@home.com, jobaldwi@vt.edu (John Baldwin) From: Robert Beer Subject: Re: Why are NIS netgroups ignored... Cc: cjclark@home.com, freebsd-questions@FreeBSD.ORG Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 6:51 PM -0500 3/21/1999, Crist J. Clark wrote: >John Baldwin wrote, >> On 21-Mar-99 Crist J. Clark wrote: >> > John Baldwin wrote, >> > OK, next questions. ;) Does, >> > >> > % ypcat -x >> > >> > Show that the netgroup maps are being transfered to the machine in >> > question? >> >> Apparently not: >> >> > ypcat -x >> Use "passwd" for "passwd.byname" >> Use "master.passwd" for "master.passwd.byname" >> Use "group" for "group.byname" >> Use "networks" for "networks.byaddr" >> Use "hosts" for "hosts.byaddr" >> Use "protocols" for "protocols.bynumber" >> Use "services" for "services.byname" >> Use "aliases" for "mail.aliases" >> Use "ethers" for "ethers.byname" > >OK, then I am starting to think it is a server problem, not the >client. The server does not seem to be pushing the netgroup >maps. But... This seems to be some sort of bug in the ypcat -k command. I use a netgroup file and it creates: -rw------- 1 root bin 40960 Mar 19 16:26 netgroup -rw------- 1 root bin 40960 Mar 19 16:26 netgroup.byhost -rw------- 1 root bin 40960 Mar 19 16:26 netgroup.byuser under the /var/yp/Domain_Name directory. Look for the files and the fact that a ypcat and ypmatch work with the netgroup information means these files exist. --- Bob Beer Ohio Northern University, Academic Computer Services, Ada, OH 45810 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message