Return to BSD News archive
Path: sserve!euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!pravda.aa.msen.com!spool.mu.edu!usenet.eel.ufl.edu!news.mathworks.com!uunet!in2.uu.net!dziuxsolim.rutgers.edu!igor.rutgers.edu!newsserver.jvnc.net!cmi.hahnemann.edu!itsdpc2
From: owensc@enc.edu (Charles N. Owens)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: How to set up NIS slave server?
Date: 10 Aug 1995 15:10:24 GMT
Organization: Eastern Nazarene College
Lines: 53
Message-ID: <40d7h0$uam@cmi.hahnemann.edu>
NNTP-Posting-Host: itsdpc2.enc.edu
X-Newsreader: News Xpress Version 1.0 Beta #3
Hi all,
I've gotten NIS to function on the master server, and I've succeeded in
getting another FBSD box to work as a client. Now, I'm trying to get
this second box to work as a SLAVE server.
Here's what I did:
1. On the slave:
a. start ypserv
2. On the master:
a. edit /var/yp/Makefile and commented out NOPUSH="True"
b. edit /var/yp/ypservers and added name of slave.
Does this have to be in some special format?
c. touch /var/yp/master.passwd
d. make
make starts to update the files, as it should, but then dies
when it calls (apparantly) yppush. Here's the output
Updating hosts.byname...
Usage: /usr/bin/yppush [ -d domain ] [ -v ] mapname ...
*** Error code 1
Stop.
*** Error code 1
Stop.
Have I skipped any steps or made any mistakes?
A couple more questions:
1. I've read that when a server (slave or master) is also allows NIS logins
that its a good idea to force ypbind to bind to the server itself. I've
attempted to do this by the following:
ypbind -ypsetme
ypset servername
Is this right?
2. Ultimately, I'd also like to make an RS/6000 AIX box a slave server. Will
there be problems with this? AIX's shawdow password files are of a MUCH
different format than FreeBSD's (or likely and other unix's :-( )... will
this make FreeBSD/AIX NIS-cooperation impossible?
Any help is greatly appreciated,
thank,
---
-------------------------------------------------------------------------
Charles Owens Email: owensc@enc.edu
"I read somewhere to learn is to
Information Technology Services remember... and I've learned that
Eastern Nazarene College we've all forgot..." - King's X
-------------------------------------------------------------------------