From owner-freebsd-questions Fri Nov 21 17:10:20 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA00486 for questions-outgoing; Fri, 21 Nov 1997 17:10:20 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from ems1.uwsp.edu (ems1.uwsp.edu [143.236.1.18]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA00479 for ; Fri, 21 Nov 1997 17:10:13 -0800 (PST) (envelope-from rjesse@uwsp.edu) Received: by ems1.uwsp.edu with Internet Mail Service (5.0.1458.49) id ; Fri, 21 Nov 1997 19:10:08 -0600 Message-ID: From: "Jesse, Roland" To: "'freebsd-questions@freebsd.org'" Subject: NIS client setup Date: Fri, 21 Nov 1997 19:10:05 -0600 X-Priority: 3 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.0.1458.49) Content-Type: text/plain Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I am very sorry to bring up this topic again. So far, there seems to be no NIS section in the Handbook and nothing in the FAQ. So I searched the mailinglist archives. As a result I know at least, that I am not the first person, who asks that question here. (*grmpf* ;)) Ok, what I did so far is this: in /etc/rc.conf: hostname="marvin.cs.uni-magdeburg.de" nisdomainname="isg.cs.uni-magdeburg.de" nis_client_enable="YES" nis_client_flags="-s" nis_ypset_enable="YES" nis_ypset_flags="simsrv.cs.uni-magdeburg.de" /etc/master.passwd (using vipw): added last line "+:::::::::" /etc/group: added last line "+:::" /etc/host.conf: uncommented the line containing "nis". (last line of the file, "bind" and "hosts" are uncommented, too) I rebooted the machine. As a result, the login process slowed down and takes a cupple of minutes now. I cannot access the NIS pages. That means, "ypcat passwd" (as an example) returns (after quite a while): No such map passwd.byname. Reason: Can't bind to server which serves this domain There are two machines involved. The first is simsrv. It is the NIS server for isg.cs... This machine is running SunOS 5.x. The second machine is marvin.cs... This is supposed to be the NIS client. It runs FreeBSD 3.0-970807-SNAP. If that is importand - the two machines are not in the same subnet: marvin.cs: 141.44.20.29 simsrv.cs: 141.44.23.11 Of course is any kind of help really appriciated, -- Roland