Date: Thu, 11 Sep 2003 10:00:21 -0500 From: Dan Nelson <dnelson@allantgroup.com> To: Linus =?utf-8?Q?Sj=C3=B6berg?= <lsjoberg@aland.net> Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD YP-client, Linux YP-master Message-ID: <20030911150021.GA3876@dan.emsphone.com> In-Reply-To: <o0he3jvk17.fsf@hal9000.alcom.aland.fi> References: <86vfs0mstq.fsf@clarke.alcom.aland.fi> <20030910183121.GA42248@dan.emsphone.com> <o0he3jvk17.fsf@hal9000.alcom.aland.fi>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Sep 11), Linus Sjberg said: > 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 That sounds like a bug in RedHat's ypserv, actually. A missing map shouldn't be logged as "refused", and probably shouldn't be logged at all unless debugging is enabled. > > 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. Yes, that looks like the right change for 4.x. -- Dan Nelson dnelson@allantgroup.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030911150021.GA3876>