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; }; -- Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4
pgpXQfxob30Uw.pgp
Description: PGP signature