From owner-freebsd-questions Thu Jan 27 11: 9: 3 2000 Delivered-To: freebsd-questions@freebsd.org Received: from ns0.sitesnow.com (ns0.sitesnow.com [216.130.1.66]) by hub.freebsd.org (Postfix) with ESMTP id 9EE4D14FCD for ; Thu, 27 Jan 2000 11:08:59 -0800 (PST) (envelope-from gskouby@ns0.sitesnow.com) Received: from gskouby (helo=localhost) by ns0.sitesnow.com with local-esmtp (Exim 2.12 #1) id 12DuHo-000GYE-00; Thu, 27 Jan 2000 14:08:56 -0500 Date: Thu, 27 Jan 2000 14:08:56 -0500 (EST) From: Greg Skouby To: Steve Hovey Cc: freebsd-questions@freebsd.org Subject: Re: NIS client setup again (fwd) In-Reply-To: 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 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