From owner-freebsd-questions Tue Aug 6 08:52:46 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id IAA26083 for questions-outgoing; Tue, 6 Aug 1996 08:52:46 -0700 (PDT) Received: from callisto.geo.unizh.ch (callisto.geo.unizh.ch [130.60.176.13]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id IAA26074 for ; Tue, 6 Aug 1996 08:52:40 -0700 (PDT) Received: from strato.geo.unizh.ch ([130.60.176.64]) by callisto.geo.unizh.ch (post.office MTA v1.9.3 ID# 0-10329) with SMTP id AAA21837 for ; Tue, 6 Aug 1996 17:52:36 +0200 Received: from localhost by strato.geo.unizh.ch (5.x) id AA20915; Tue, 6 Aug 1996 17:52:32 +0200 Date: Tue, 6 Aug 1996 17:52:31 +0200 (MET DST) From: fbrazile@geo.unizh.ch (Frank Brazile) X-Sender: fbrazile@strato To: questions@freebsd.org Subject: How to fix _EASY_ yp problem? Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Howdy, Okay, maybe not so easy. :) I am having difficulties in getting my FreeBSD 2.1.5 machine (loo) to understand a Sparc 20 SOLARIS 5.4* (strato) based NIS+ netgroup table. NIS+ is currently in NIS compatibility mode and various yp client commands work on loo, like ypcat passwd. I am part of a netgroup, called gis1, that is part of a larger netgroup called geonet. In the /etc/hosts.equiv on loo I have, +@geonet But this entry does not seem to be sufficient to allow rlogins nor NFS mounts. If a machine is added directly to hosts.equiv, rlogins work. If I try to mount an unrestricted NFS file system, it works. Otherwise, NFS and incoming rlogins don't work. Below, I've enclosed a transcript of my local system adminstrator trying various combinations of: NIS+ group order, manually entered hostnames, and NFS export variations. Any help or suggestions appreciated as if I can't get this figured out, they'll throw me to the dogs (meaning my competitors are bragging everything works with NIS+ on their linux machines). Save me. -F. ------------------------------------------------------------------- Frank Brazile | Internet: fbrazile@geo.unizh.ch Assistant NF | Universitat Zurich Generalization Gruppe | Winterthurerstr. 190 nummer: (01) 257 5256 | 8057 Zuerich, CH ---------- Forwarded message ---------- Date: Tue, 6 Aug 1996 09:23:56 +0200 (MET DST) From: Othmar Wigger To: Frank Brazile Subject: Re: loo nfs Hi Frank I cannot rlogin. Although we opened rlogin for all hosts of the netgroup geonet. Maybe the NFS problem is related to this latter problem? Look at this: loo# ypcat netgroup produces no output! loo# ypmatch geonet netgroup rsl2 phys rsl1 gis1 this is all right. geonet is just a collection of other net- groups, representing the Institute's organization. loo belongs to the Abteilung of Prof. Brassel (gis1): loo# ypmatch gis1 netgroup sunlab (loo,,) (abroholos,,) (bise,,) (cyclon,,) (tramontana,,) (taifun,,) (bora ,,) (strato,,) (tropo-gw,,) (meso,,) (vacherin,,) Here you are. Maybe FreeBSD is confused by this netgroup referencing business. Let's break the hierarchy, just to see what happens, by adding a loo entry at the top of the netgroup tree. Now loo# ypmatch geonet netgroup rsl2 (loo,,) phys rsl1 gis1 but still no rlogin... and no NFS. Maybe FreeBSD does not understand the netgroup syntax of /etc/hosts.equiv? I explicitly add a hostname to /etc/hosts.equiv. Now rlogin works! Why doesn't the +@geonet entry work? The FreeBSD manpage hosts.equiv(5) states it should work. - Still no NFS. Next, I try if I can mount an unrestricted NFS filesystem. From strato, I export a scratch disk to the world. Then loo# mount strato:/spare /mnt This works! So the NFS definitively works, it's just a permission problem with netgroups. (You cannot try this, I un-exported strato:/spare again, for security reasons.) Preliminary conclusion: NIS+ compatibility mode presents the netgroup table in a way that FreeBSD doesn't understand. The fault could be on either side. But we know that it works with Silicon Graphics. Any ideas? Othmar