From owner-freebsd-questions Thu Jan 27 11:40:21 2000 Delivered-To: freebsd-questions@freebsd.org Received: from benge.graphics.cornell.edu (benge.graphics.cornell.edu [128.84.247.43]) by hub.freebsd.org (Postfix) with ESMTP id 224FE14BD4 for ; Thu, 27 Jan 2000 11:40:19 -0800 (PST) (envelope-from mkc@benge.graphics.cornell.edu) Received: from benge.graphics.cornell.edu (mkc@localhost) by benge.graphics.cornell.edu (8.9.3/8.9.3) with ESMTP id OAA60854; Thu, 27 Jan 2000 14:40:16 -0500 (EST) (envelope-from mkc@benge.graphics.cornell.edu) Message-Id: <200001271940.OAA60854@benge.graphics.cornell.edu> To: Greg Skouby Cc: Steve Hovey , freebsd-questions@FreeBSD.ORG Subject: Re: NIS client setup again (fwd) In-Reply-To: Message from Greg Skouby of "Thu, 27 Jan 2000 14:08:56 EST." Date: Thu, 27 Jan 2000 14:40:15 -0500 From: Mitch Collinsworth Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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