Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Nov 1997 19:10:05 -0600
From:      "Jesse, Roland" <rjesse@uwsp.edu>
To:        "'freebsd-questions@freebsd.org'" <freebsd-questions@freebsd.org>
Subject:   NIS client setup
Message-ID:  <D88928C46B05D0118A72080009AD8E31034F2106@ems1.uwsp.edu>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D88928C46B05D0118A72080009AD8E31034F2106>