Date: Mon, 21 Sep 1998 16:34:30 -0700 (PDT) From: Doug White <dwhite@resnet.uoregon.edu> To: Jane Frodo <jfrodo42@hotmail.com> Cc: dhw@whistle.com, FreeBSD-Questions@FreeBSD.ORG, jegelhof@cloud9.net Subject: Re: NIS Troubles: Starting over... Message-ID: <Pine.BSF.4.03.9809211632270.11562-100000@resnet.uoregon.edu> In-Reply-To: <19980920221410.709.qmail@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 20 Sep 1998, Jane Frodo wrote: > Hi all. > I have completely started over, having found several things > in my "search for NIS" :=0 > > Here's what I've done, and where I am... > > --------------------------------------------------------------------------------------------------- > On the SERVER: > > /etc/hosts content: > 127.0.0.1 localhost.test.com localhost > > /etc/host.conf content: (yes, I want it to use DNS and not host) > bind > nis <--- this isn't needed; use DNS > /etc/group content: > <standard group files> > +:*:: > > /etc/passwd > <about 1300 entries> > +:*:::::::: You MUST add the magic cookie +::::::::: (plus and nine colons) to the password database using 'vipw'. Modifying passwd directly will NOT work!! > /etc/rc.conf changes: > hostname="nismst.test.com" > nisdomainname="test.com" > nis_client_enable="YES" > nis_client_flags="-s" > nis_ypset_enable="NO" > nis_ypset_flags="" > nis_server_enable="YES" > nis_server_flags="" > nis_yppasswdd_enable="YES" > nis_yppasswdd_flags="-v -a -t /etc/master.passwd" > > /var/yp/Makefile modified to use /etc/master.passwd: > at line 108, replace > MASTER = $(YPDIR)/master.passwd > with > MASTER = $YPSRCDIR)/master.passwd ^ typo? Should be a ( there > SERVER: Everything appears normal. All logins work, > ypcat works for all map files tried, ypmatch works, passwd > changes local as well as NIS maps. > > CLIENT: No NIS logins work. passwd works correctly: it > both recognizes a bad password (when prompting for "old" > passwd) and successfully changes the NIS passwd. Having > changed it via the client, I can use the new password to login > on the server. > ypcat/ypmatch appear to be working fine. Huh? I don't understand what behavior you're describing. Doug White Internet: dwhite@resnet.uoregon.edu | FreeBSD: The Power to Serve http://gladstone.uoregon.edu/~dwhite | www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.03.9809211632270.11562-100000>