Date: Tue, 15 Jul 1997 09:57:39 +0300 From: Nadav Eiron <nadav@barcode.co.il> To: Andrew Westrate <azuresky@umich.edu> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: NIS woes Message-ID: <33CB1F63.57AC@barcode.co.il> References: <199707142143.RAA02739@loos.ummu.umich.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Andrew Westrate wrote: > > I am trying to get NIS running on a small lan made up of just two machines > (but soon to be a few more). I have set up the first machine as the server, > and it starts ypserv when rebooted and creates all of the neccessary maps. I > then set up the other machine as a client, and I think I have it running > properly, because it starts ypbind, creates a file in /var/yp/bindings named > after the proper domainname, and it complains that it can't reach the nis > server when that machine is rebooted, BUT: in order to test nis, I added a > new user to master.passwd on the server, rebooted both machines, and then > tried to log in as that user on the client machine, and wasn't able to log in. > > > So basically I don't know if I have it working in general, but only the passwd > file isn't set up right, or if I have either the client or server or both set > up improperly. Does anyone have any ideas about how to fix this, or at least > about how to test it another way to see what works and what doesn't? Did you add '+' entries in the client's passwd file (by using vipw, of course)? If not, see the man page for passwd for more details on the format. Basically, to tell a machine to use whatever it finds in NIS map you need to have: +:::::::: in your passwd file. > > Also, I would like to set up the server to also be a client, but the first > time I did this, the machine wasn't able to boot because it was looking for > the server at startup, but there was no server running yet. Does anyone know > how to fix this too? > > Thanks, > Andy Westrate Nadav
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?33CB1F63.57AC>