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