From owner-freebsd-questions Sun Mar 21 23:25: 9 1999 Delivered-To: freebsd-questions@freebsd.org Received: from quackerjack.cc.vt.edu (quackerjack.cc.vt.edu [198.82.160.250]) by hub.freebsd.org (Postfix) with ESMTP id 206CE1506D for ; Sun, 21 Mar 1999 23:25:07 -0800 (PST) (envelope-from jobaldwi@vt.edu) Received: from sable.cc.vt.edu (sable.cc.vt.edu [128.173.16.30]) by quackerjack.cc.vt.edu (8.8.8/8.8.8) with ESMTP id CAA12024; Mon, 22 Mar 1999 02:24:48 -0500 (EST) Received: from john.baldwin.cx (jobaldwi.campus.vt.edu [198.82.67.63]) by sable.cc.vt.edu (8.8.8/8.8.8) with ESMTP id CAA22549; Mon, 22 Mar 1999 02:24:47 -0500 (EST) Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <199903220451.XAA06274@cc942873-a.ewndsr1.nj.home.com> Date: Mon, 22 Mar 1999 02:24:40 -0500 (EST) From: John Baldwin To: cjclark@home.com Subject: Re: Why are NIS netgroups ignored... Cc: freebsd-questions@FreeBSD.ORG, (John Baldwin) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 22-Mar-99 Crist J. Clark wrote: > John Baldwin wrote, >> The FreeBSD machine is the master server, and does not have a local >> /etc/netgroup file. There is a /var/yp/netgroup file whose database is >> stored >> in the NIS maps in /var/yp/. The ypcat and ypmatch work on all >> machines, including the FreeBSD master server. > > Hmmm... I thought you said that you _weren't_ getting > 'netgroup.byhost' or 'netgroup.byuser.' You are getting them on all of > the machines? Yes... I can ypcat or ypmatch 'netgroup', 'netgroup.byhost' and 'netgroup.byuser' on all hosts. >> I should have also said that >> neither the FreeBSD client workstations nor the Digital UNIX workstations >> honor >> netgroups in .rhosts. However, the Digital UNIX servers do honor netgroups >> in >> /etc/exports. All of the machines in question are on the same LAN, >> including >> both the FreeBSD master, and a Digital UNIX slave. It is as if the netgroup >> map is honored some times but not others. Hope I haven't confused you more >> and >> thanks for sticking it out this far. > > If all of the machines are receiving the maps for netgroup, then the > problem would not seem to lie with the NIS transfer among the > machines, but rather how individual applications use the maps. What > happens when you try to use a map in /etc/exports on a FreeBSD > machine? What kind of errors are you getting? I can use a netgroup in /etc/exports on a FreeBSD machine and it works. The only problems I've encountered so far are with /etc/login.access and login, and ~/.rhosts and /etc/hosts.equiv with rshd and rlogind. Does anyone know if these are broken. ... Well, duh, guess I should've searched Gnats as well as the mail archives before e-mailing, this is reported in bin/2641 but not yet fixed. :( Thanks for your time. Now I just have to wonder if it is broken for rshd and rlogind. > -- > Crist J. Clark cjclark@home.com --- John Baldwin -- http://members.freedomnet.com/~jbaldwin/ PGP Key: http://members.freedomnet.com/~jbaldwin/pgpkey.asc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message