Date: 11 Sep 2003 10:52:52 +0300 From: lsjoberg@aland.net (=?iso-8859-1?q?Linus_Sj=F6berg?=) To: Dan Nelson <dnelson@allantgroup.com> Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD YP-client, Linux YP-master Message-ID: <o0he3jvk17.fsf@hal9000.alcom.aland.fi> In-Reply-To: <20030910183121.GA42248@dan.emsphone.com> References: <86vfs0mstq.fsf@clarke.alcom.aland.fi> <20030910183121.GA42248@dan.emsphone.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Dan Nelson <dnelson@allantgroup.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?o0he3jvk17.fsf>