From owner-freebsd-questions Fri Jan 28 5:22:17 2000 Delivered-To: freebsd-questions@freebsd.org Received: from buffnet4.buffnet.net (buffnet4.buffnet.net [205.246.19.13]) by hub.freebsd.org (Postfix) with ESMTP id 6EA7D159B5 for ; Fri, 28 Jan 2000 05:22:14 -0800 (PST) (envelope-from shovey@buffnet.net) Received: from buffnet11.buffnet.net (buffnet11.buffnet.net [205.246.19.55]) by buffnet4.buffnet.net (8.9.3/8.8.7) with ESMTP id IAA50784; Fri, 28 Jan 2000 08:22:15 -0500 (EST) (envelope-from shovey@buffnet.net) Date: Fri, 28 Jan 2000 08:22:10 -0500 (EST) From: Steve Hovey To: Mitch Collinsworth Cc: Greg Skouby , freebsd-questions@FreeBSD.ORG Subject: Re: NIS client setup again (fwd) In-Reply-To: <200001271940.OAA60854@benge.graphics.cornell.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Yup I misread the original. On Thu, 27 Jan 2000, Mitch Collinsworth wrote: > > I hate to disagree with Mr. Hovey, but his message sounds like he is > talking about a slave server setup, which is not what you are asking > about. > > -Mitch > > > >I thought /var/yp/NISDOMAIN only existed on the master server? I am trying > >to set up a client. Also, the other client I successfully set up doesn't > >have /var/yp/NSIDOMAIN but it does have > >/var/yp/binding/domainname.version. How would I go about ypxfer by hand > >the maps I need? That sounds like it would give me some more verbose > >errors at the least. I tried manually creating /var/yp/binding but no good > >at all. Any other ideas?? Thanks > > > > > >On Thu, 27 Jan 2000, Steve Hovey wrote: > > > >> > >> What I do is make /var/yp/NISDOMAIN where NISDOMAIN is the nis domain, do > >> a forced ypxfer by hand of the tables I want to have it access (ie passwd, > >> master.passwd), THEN try to boot it and/or ypset it. ypbind is likely > >> puking on a lack of a dir for the nis domain. > >> > >> ---------- Forwarded message ---------- > >> Date: Thu, 27 Jan 2000 12:11:40 -0500 > >> From: Mitch Collinsworth > >> To: Greg Skouby > >> Cc: freebsd-questions@FreeBSD.ORG > >> Subject: Re: NIS client setup again > >> > >> > >> Well most of these problems are secondary effects of ypbind not running. > >> Getting ypbind running should take care of the rest. Check > >> /var/log/messages for any interesting messages. Also you might try > >> running ypbind without arguments in order to determine if the -S is > >> what's causing the problem. And you might want to use the IP address > >> rather than domain name in the -S argument in order to not be dependent > >> on name resolution. Also you want "hosts" not "host" in host.conf. > >> > >> -Mitch > >> > >> > >> >Hello, > >> >I managed to resolve my previous problem with an NIS master server not > >> >starting the yppasswdd. However, I managed to get one of the clients set > >> >up but I am struggling with the only other client that I need to set up. > >> > > >> >I have this in /etc/rc.conf: > >> >nisdomainname="example.net" > >> >nis_client_enable="YES" > >> >nis_client_flags="-S example.net,web.example.net" > >> > > >> > > >> >Within a couple of minutes after booting this client machine I see the > >> >ypbind in the ps -aux but then it disappears shortly after that and it > >> >appears that it never does its job because there is nothing in /var/yp > >> >except Makefile.dist. I edited host.conf to contain this: > >> >bind > >> >nis > >> >host > >> > > >> >I edited the master.passwd with vipw to contain the "magic cookie" at the > >> >end. > >> >Can anyone tell me what I am doing wrong please. Any command that I issue > >> >such as ypcat master.passwd gives me: > >> > > >> >%ypcat master.passwd > >> >ypcat: no such map master.passwd.byname. reason: Can't bind to server > >> >which serves this domain > >> > > >> > > >> >Any suggestions to keep me from pulling my hair out? I searched the > >> archives but found nothing really pertaining to my exact problem in there. > >> >Thank you very much. > >> > >> > >> To Unsubscribe: send mail to majordomo@FreeBSD.org > >> with "unsubscribe freebsd-questions" in the body of the message > >> > >> > > > > > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org > >with "unsubscribe freebsd-questions" in the body of the message > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message