From owner-freebsd-questions@FreeBSD.ORG Thu Sep 11 00:53:07 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 28E1C16A4BF for ; Thu, 11 Sep 2003 00:53:07 -0700 (PDT) Received: from aragon.alcom.aland.fi (ns.alcom.aland.fi [194.112.0.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D81C43FE1 for ; Thu, 11 Sep 2003 00:53:05 -0700 (PDT) (envelope-from lsjoberg@aland.net) Received: from hal9000.alcom.aland.fi (hal9000.alcom.aland.fi [194.112.1.12]) by aragon.alcom.aland.fi (8.12.8/8.12.8) with ESMTP id h8B7qtKP020586 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NOT); Thu, 11 Sep 2003 10:52:57 +0300 Received: from hal9000.alcom.aland.fi (localhost [127.0.0.1]) h8B7qtOk000300; Thu, 11 Sep 2003 10:52:55 +0300 (EEST) (envelope-from lsjoberg@aland.net) Received: (from linus@localhost) by hal9000.alcom.aland.fi (8.12.9/8.12.9/Submit) id h8B7qqf6000297; Thu, 11 Sep 2003 10:52:52 +0300 (EEST) (envelope-from lsjoberg@aland.net) X-Authentication-Warning: hal9000.alcom.aland.fi: linus set sender to lsjoberg@aland.net using -f Sender: linus@hal9000.alcom.aland.fi To: Dan Nelson References: <86vfs0mstq.fsf@clarke.alcom.aland.fi> <20030910183121.GA42248@dan.emsphone.com> From: lsjoberg@aland.net (=?iso-8859-1?q?Linus_Sj=F6berg?=) Date: 11 Sep 2003 10:52:52 +0300 In-Reply-To: <20030910183121.GA42248@dan.emsphone.com> Message-ID: Lines: 28 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD YP-client, Linux YP-master X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Sep 2003 07:53:07 -0000 Dan Nelson writes: > If you try to run "ypmatch YP_LAST_MODIFIED master.passwd.byname" as > root (on your box and then on the master server), which error do you > get? ypmatch: can't match key YP_LAST_MODIFIED in map master.passwd.byname. reason: No such map in server's domain > > So, is there a way for me to configure my box so that it still runs > > NIS but without asking for master.passwd? I have tried googleing on > > the issue but haven't found anything appropriate... > > Commenting out the lookup in src/lib/libc/gen/getpwent.c:mis_map() and > rebuilding world should do it. I forgot mentioning that I'm running 4.9-PRERELEASE (doh), and I couldn't locate such a function but adding return(YP_HAVE_NONE); in top of _have_master(char *_yp_domain) solved the problem for me. Thanks a lot for pointing me into the right direction!! (After getting rid of tje master.pass.byname-errors I also noticed a bunch of similar warnings for networks.byaddr, but that was easier to get rid of =)) Best regards, Linus