From owner-freebsd-stable Wed Aug 7 16:14:16 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B40CE37B400 for ; Wed, 7 Aug 2002 16:14:02 -0700 (PDT) Received: from mail.urchin.com (ns2.quantified.com [63.212.171.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 36FE643E70 for ; Wed, 7 Aug 2002 16:14:02 -0700 (PDT) (envelope-from dsilver@urchin.com) Received: from danzig.sd.quantified.net (web.quantified.com [63.212.171.5]) by mail.urchin.com (8.12.1/8.12.1) with ESMTP id g77NFlVo032092 for ; Wed, 7 Aug 2002 16:15:25 -0700 (PDT) (envelope-from dsilver@urchin.com) Date: Wed, 7 Aug 2002 16:13:58 -0700 (PDT) From: Doug Silver X-Sender: dsilver@danzig.sd.quantified.net To: freebsd-stable@FreeBSD.ORG Subject: Re: NIS fails after upgrade to 4.6 In-Reply-To: <20020808004443.A4666@gicco.cablecom.ch> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Filter-Version: 1.7 (mail.urchin.com) Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 8 Aug 2002, Hanspeter Roth wrote: > On Aug 06 at 09:38, Doug Silver spoke: > > > On Tue, 6 Aug 2002, Hanspeter Roth wrote: > > > > > Do `ypwhich' and `ypwhich -x' look reasonable? > > > > yes, both are pointing to the right machine and correct > > information. 'ypcat passwd' gets everything, but running 'yppasswd > > dsilver' fails. > > > > I'm tending to guess it's something wrong/incorrect with pam, but I'm not > > really sure where. > > Who knows. I don't have experience with pam. That makes two of us! > > Is nis_yppasswdd_enable enabled in /etc/rc.conf? Is rpc.yppasswdd > running? > > If it is a slave server maybe you need to rerun ypinit. n/a -- I think. Doesn't look like rc.network has changed w.r.t. NIS clients. > > Is an entry like +::::::::: in /etc/master.passwd? > Maybe you need to run vipw. see below. > > Have you verified with the handbook? > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/nis.html yup. > > -Hanspeter > [root@urchin /etc]# tail -1 master.passwd +::::::::: [root@urchin /etc]# tail -1 group +:*:: [root@urchin /etc]# id dsilver uid=1000(dsilver) gid=1000(dsilver) groups=1000(dsilver), 0(wheel), 900(web) [root@urchin /etc]# ypmatch dsilver passwd dsilver:XXXXXXXXXXXXX:1000:1000:Hockey Nut, Penalty Box:/home/dsilver:/bin/tcsh [root@urchin /etc]# domainname urchin [root@urchin /etc]# ps aux|egrep yp root 78 0.0 0.1 924 500 ?? Ss Fri05PM 0:03.47 ypbind -s This box is only an NIS client, so it should only need to run ypbind (that's true on my other FBSD boxes). ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Doug Silver Network Manager Urchin Software Corp. http://www.urchin.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message