jonathan@comp.vuw.ac.nz (Jonathan) (08/17/88)
Problem: rnusers.x as posted in SunRPC 3.9 is incompatible with Sun's own rusersd. (It's not clear to me that this is a bug, given the disclaimer about the contents of rpvsvc in the README file, and also "rnusers" may be deliberately perversely different from Sun's implemented utilities.) However, they *are* compatible with a simple change, and it makes implementing rusers(1) for a vanilla bsd system *so* much easier... Repeat-By: Build either a rusers client (or server) using rnusers.x to generate client (or server) stubs. [[I'll post them soon.]] Have it call (or be called by) its counterpart as shipped with SunOS 3.2 or Pyramid OSx 4.0 . See the garbage and core dumps that result. Fix: apply the following context diff to rnusers.x, *** /usr/include/rpcsvc/rnusers.x Tue Jun 21 18:06:57 1988 --- ./rnusers.x Wed Aug 17 15:53:03 1988 *************** *** 67,73 **** utmpidlearr RUSERSPROC_ALLNAMES(void) = 3; ! } = 1; /* * Old version does not include idle information --- 67,73 ---- utmpidlearr RUSERSPROC_ALLNAMES(void) = 3; ! } = 2; /* * Old version does not include idle information *************** *** 81,86 **** utmparr RUSERSPROC_ALLNAMES(void) = 3; ! } = 2; } = 100002; --- 81,86 ---- utmparr RUSERSPROC_ALLNAMES(void) = 3; ! } = 1; } = 100002; -- ----------------------------------------------------------------------------- sane mailers: jonathan@comp.vuw.ac.nz | Industrial democracy: UUCP path: ...!uunet!vuwcomp!jonathan | One factory, one vode!