Date: Wed, 19 Apr 2006 22:44:10 -0600 From: Scott Long <scottl@samsco.org> To: Brooks Davis <brooks@one-eyed-alien.net> Cc: freebsd-stable@freebsd.org, Rong-En Fan <grafan@gmail.com>, re@freebsd.org, peter@freebsd.org Subject: Re: ypwhich -m Message-ID: <4447119A.6000000@samsco.org> In-Reply-To: <20060420001142.GB19865@odin.ac.hmc.edu> References: <6eb82e0604191645p70646962m78f89756d2714be7@mail.gmail.com> <20060420001142.GB19865@odin.ac.hmc.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Brooks Davis wrote: > On Wed, Apr 19, 2006 at 07:45:47PM -0400, Rong-En Fan wrote: > >>Hi, >> >>I found that ypwhich -m does not work on 6.1-RC, it shows >> >>ypwhich: can't find the master of `???`: reason: No such map in server's domain >> >>IIRC, there was a commit last year to fix this. After some search, I think >>it is include/rpcsvc/yp_prot.h revision 1.13 done by peter@ (CC'ed). >>As far as I can tell, ypwhich -m is also broken on 5.4 and 5.5-PRERELEASE. >> >>I have tested that revision on a 5.5-PRERELEASE machine, it >>fixes ypwhich -m. I would like to see this MFC'ed to RELENG_6 >>and RELENG_5, so the newer releases will have this fixed. > > > I've verified this on a 6-STABLE machine from January. If approved, > I'll do it tomorrow cut-n-paste damanged patch below. It's a trivial > one line change so anyone could do it. > > -- Brooks > > @@ -148,7 +148,7 @@ > }; > > struct ypmaplist { > - char ypml_name[YPMAXMAP + 1]; > + char *ypml_name; > struct ypmaplist *ypml_next; > }; > > > Approved
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4447119A.6000000>