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