README revision 1.1
11.1Sjtc
21.1SjtcJuly 1995 -  Ported to NetBSD by Gordon Ross <gwr@netbsd.org>
31.1Sjtc
41.1SjtcNote: to build clnt.pcnfsd use the command:
51.1Sjtc	make -f Makefile.clnt
61.1Sjtc
71.1SjtcText of original README file from Sun follows:
81.1Sjtc----------------------------------------------------------------------
91.1Sjtc
101.1SjtcThis is version @(#)README	1.6 1/28/92 of the pcnfsd README file.
111.1Sjtc----------------------------------------------------------------------
121.1SjtcThis is the second cut at PCNFSD v2. All printing now uses the same
131.1SjtcSVR4 based printing model: lp, lpstat, cancel. This implies SunOS 4.1
141.1Sjtcor later on a Sun. The printing hasn't been properly tested on SVR4,
151.1Sjtcsince my SVR4 system is a bit quirky, but authentication via shadow
161.1Sjtcpasswords works fine.
171.1Sjtc
181.1SjtcThe Makefile supplied will build either SunOS 4.1 or SVR4 versions;
191.1Sjtchowever you will need to tweak a couple of definitions. See the
201.1SjtcMakefile for details.
211.1Sjtc
221.1SjtcFor this round, I have frozen the rpcgen'd code and modified it by hand
231.1Sjtcto get around a few rpcgen deficiencies. If in doubt, you can take the
241.1Sjtcpcnfsd.x file included here off to a separate directory, rpcgen everything
251.1Sjtcup and diff against the versions given here.
261.1Sjtc
271.1SjtcYou should also be sure to read the man page. I haven't tried [nt]roff'ing
281.1Sjtcthis anywhere outside SunOS, so let me know if there are any quirks.
291.1SjtcNote especially the /etc/pcnfsd.conf configuration model.
301.1Sjtc
311.1SjtcStandard disclaimers. Read the source for more of the same.
321.1Sjtc
331.1SjtcGeoff Arnold (Geoff.Arnold@Sun.COM)
341.1SjtcMay 2, 1991
351.1Sjtc
361.1Sjtc----------------------------------------------------------------------
371.1SjtcThis is the first major spin since the version I posted in May.
381.1SjtcChanges are described in the SCCS deltas, but anyone analysing
391.1Sjtcor porting this should watch for the following:
401.1Sjtc
411.1Sjtc- Lots of SVR4 stuff. Look at the Makefile and common.h; you will
421.1Sjtc  need to make sure that SVR4 is defined to build a version for SVR4.
431.1Sjtc- Fixed a major bug whereby aliased printers (a.k.a. virtual printers)
441.1Sjtc  didn't show up in the printer list.
451.1Sjtc- Since some commands (especially lpq) can hang up forever if, say,
461.1Sjtc  the host of a remote printer is down, the su_popen mechanism now
471.1Sjtc  includes a watchdog timer. I HAVE NOT HAD A CHANCE TO TEST THIS
481.1Sjtc  LOGIC ON SVR4 YET! The code was derived from the System V compatiility
491.1Sjtc  section of the AnswerBook, so it _should_ be OK, but I can't wait to
501.1Sjtc  test it before posting this.
511.1Sjtc- I've mades lots of lint-suggested improvements. It doesn't lint
521.1Sjtc  100% cleanly yet, but it's a lot better.
531.1Sjtc- The client testbed has been tightened up a bit and the reporting
541.1Sjtc  is somewhat clearer. Please run it.
551.1Sjtc
561.1SjtcFeedback is solicited.
571.1Sjtc
581.1SjtcGeoff Arnold (Geoff.Arnold@Sun.COM)
591.1SjtcJuly 24, 1991
601.1Sjtc
611.1Sjtc----------------------------------------------------------------------------
621.1Sjtc
631.1SjtcThis version includes support for TCP as well as UDP, both in the
641.1Sjtcserver and in the test client.  Some of the calls can have long
651.1Sjtcresponses, in which case TCP is the preferred transport.
661.1Sjtc
671.1SjtcJon Dreyer
681.1SjtcJanuary 28, 1992
691.1Sjtc
701.1Sjtc----------------------------------------------------------------------------
711.1Sjtc
721.1SjtcThis release incorporates minor bug fixes occasioned by internal testing
731.1Sjtcagainst preliminary versions of PC-NFS subsystems which actually use the
741.1SjtcV2 protocol features. It also addresses a security hole which was identified:
751.1Sjtcsee the comment in pcnfsd_print.c for details. This is the version
761.1Sjtcof the daemon which we expect to send out for beta testing.
771.1Sjtc
781.1SjtcGeoff Arnold
791.1SjtcNovember 16, 1991
801.1Sjtc
811.1Sjtc----------------------------------------------------------------------------
821.1Sjtc
831.1SjtcSeveral people pointed out that if I was going to fix the security
841.1Sjtchole, I should *REALLY* fix it. So this revision checks every argument
851.1Sjtcfor every shell metacharacter. This means that if your print subsystem
861.1Sjtcallows such characters in printer names, print job id's, user names,
871.1Sjtcetc. you're going to have to relax the restrictions or tighten up
881.1Sjtcelsewhere. The routine "suspicious()" in pcnfsd_print.c is the starting
891.1Sjtcpoint for this.
901.1Sjtc
911.1SjtcGeoff Arnold
921.1SjtcNovember 21, 1991
931.1Sjtc
941.1Sjtc----------------------------------------------------------------------------
951.1Sjtc
961.1SjtcThis version includes one more tweak on the previous security fix, plus
971.1Sjtca fix for the "user shell" security hole.
981.1Sjtc
991.1SjtcGeoff Arnold
1001.1SjtcDecember 17, 1991
1011.1Sjtc
1021.1Sjtc----------------------------------------------------------------------------
1031.1Sjtc
1041.1SjtcFix a stupid bug - the secondary groups array wasn't static, so it
1051.1Sjtcgot overwritten, resulting in the corruption of some GIDs.
1061.1Sjtc
1071.1SjtcGeoff Arnold
1081.1SjtcDecember 18, 1991
109