From owner-freebsd-questions Thu Jan 27 9:11:49 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 51AE7155E0 for ; Thu, 27 Jan 2000 09:11:43 -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 MAA59620; Thu, 27 Jan 2000 12:11:40 -0500 (EST) (envelope-from mkc@benge.graphics.cornell.edu) Message-Id: <200001271711.MAA59620@benge.graphics.cornell.edu> To: Greg Skouby Cc: freebsd-questions@FreeBSD.ORG Subject: Re: NIS client setup again In-Reply-To: Message from Greg Skouby of "Wed, 26 Jan 2000 22:19:08 EST." Date: Thu, 27 Jan 2000 12:11:40 -0500 From: Mitch Collinsworth Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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