README revision 1.1 1
2 July 1995 - Ported to NetBSD by Gordon Ross <gwr (a] netbsd.org>
3
4 Note: to build clnt.pcnfsd use the command:
5 make -f Makefile.clnt
6
7 Text of original README file from Sun follows:
8 ----------------------------------------------------------------------
9
10 This is version @(#)README 1.6 1/28/92 of the pcnfsd README file.
11 ----------------------------------------------------------------------
12 This is the second cut at PCNFSD v2. All printing now uses the same
13 SVR4 based printing model: lp, lpstat, cancel. This implies SunOS 4.1
14 or later on a Sun. The printing hasn't been properly tested on SVR4,
15 since my SVR4 system is a bit quirky, but authentication via shadow
16 passwords works fine.
17
18 The Makefile supplied will build either SunOS 4.1 or SVR4 versions;
19 however you will need to tweak a couple of definitions. See the
20 Makefile for details.
21
22 For this round, I have frozen the rpcgen'd code and modified it by hand
23 to get around a few rpcgen deficiencies. If in doubt, you can take the
24 pcnfsd.x file included here off to a separate directory, rpcgen everything
25 up and diff against the versions given here.
26
27 You should also be sure to read the man page. I haven't tried [nt]roff'ing
28 this anywhere outside SunOS, so let me know if there are any quirks.
29 Note especially the /etc/pcnfsd.conf configuration model.
30
31 Standard disclaimers. Read the source for more of the same.
32
33 Geoff Arnold (Geoff.Arnold (a] Sun.COM)
34 May 2, 1991
35
36 ----------------------------------------------------------------------
37 This is the first major spin since the version I posted in May.
38 Changes are described in the SCCS deltas, but anyone analysing
39 or porting this should watch for the following:
40
41 - Lots of SVR4 stuff. Look at the Makefile and common.h; you will
42 need to make sure that SVR4 is defined to build a version for SVR4.
43 - Fixed a major bug whereby aliased printers (a.k.a. virtual printers)
44 didn't show up in the printer list.
45 - Since some commands (especially lpq) can hang up forever if, say,
46 the host of a remote printer is down, the su_popen mechanism now
47 includes a watchdog timer. I HAVE NOT HAD A CHANCE TO TEST THIS
48 LOGIC ON SVR4 YET! The code was derived from the System V compatiility
49 section of the AnswerBook, so it _should_ be OK, but I can't wait to
50 test it before posting this.
51 - I've mades lots of lint-suggested improvements. It doesn't lint
52 100% cleanly yet, but it's a lot better.
53 - The client testbed has been tightened up a bit and the reporting
54 is somewhat clearer. Please run it.
55
56 Feedback is solicited.
57
58 Geoff Arnold (Geoff.Arnold (a] Sun.COM)
59 July 24, 1991
60
61 ----------------------------------------------------------------------------
62
63 This version includes support for TCP as well as UDP, both in the
64 server and in the test client. Some of the calls can have long
65 responses, in which case TCP is the preferred transport.
66
67 Jon Dreyer
68 January 28, 1992
69
70 ----------------------------------------------------------------------------
71
72 This release incorporates minor bug fixes occasioned by internal testing
73 against preliminary versions of PC-NFS subsystems which actually use the
74 V2 protocol features. It also addresses a security hole which was identified:
75 see the comment in pcnfsd_print.c for details. This is the version
76 of the daemon which we expect to send out for beta testing.
77
78 Geoff Arnold
79 November 16, 1991
80
81 ----------------------------------------------------------------------------
82
83 Several people pointed out that if I was going to fix the security
84 hole, I should *REALLY* fix it. So this revision checks every argument
85 for every shell metacharacter. This means that if your print subsystem
86 allows such characters in printer names, print job id's, user names,
87 etc. you're going to have to relax the restrictions or tighten up
88 elsewhere. The routine "suspicious()" in pcnfsd_print.c is the starting
89 point for this.
90
91 Geoff Arnold
92 November 21, 1991
93
94 ----------------------------------------------------------------------------
95
96 This version includes one more tweak on the previous security fix, plus
97 a fix for the "user shell" security hole.
98
99 Geoff Arnold
100 December 17, 1991
101
102 ----------------------------------------------------------------------------
103
104 Fix a stupid bug - the secondary groups array wasn't static, so it
105 got overwritten, resulting in the corruption of some GIDs.
106
107 Geoff Arnold
108 December 18, 1991
109