14th JUL 2002 Beta 1 TODO: Add -d (diagnostic) flag to lpd Test lprm from Windows Make banks share multiple copies makefile: Changed to "install" and Added 'client', 'server', 'man/doc' options perllpconfig: Added to project. Just a test script to play with lpd.man Added to project lpr.man Added to project lpq.man Added to project lprm.man Added to project LPD.INIT: Added to project LPD: Added code to run as lp (made setuid,setgid, setsid) LPD: Added POSIX module use (for setsid) LPD: Create /var/run/lpd.pid LPD: Check that a claimed hostname reverses back to the client's IP LPD: Trimmed lots of useless variables (left two for later expansion) LPD: Added "fake" option to printcap, mainly for Samba. LPD: Function capvals for repeated printcap values (eg sd) LPD: Added sharing of spool directory for printer banks LPD: Added multiple copy printing LPD: Made to return at startup as expected for init.d services LPD: Added hosts.lpd reading LPD: Finished security code using checksums LPD: Runs in taint mode LPD: Changed PATH order to look in /usr/local/bin first LPD: Added chdir('/') LPD: Added $maxcopies, defaults to 10 LPR: Changed umask to 037 LPR: Made to setgid to lp if running on the server machine LPR: Added various extra debug messages if $debug<>0 LPR: Added ticket generation LPQ: Added -s (samba) output flag LPQ: Re-wrote output code to correctly align data LPQ: Shortened output, added verbose flag for long version LPQ: If possible askes daemon to re-run lpq to get read permission on all jobs. Otherwise just returns user's local job info LPQ: Detect completed jobs and remove old security tickets LPRM: Fixed bug that prevented correct usage of the "-" input option LPRM: Made job ID's digit only LPRM: Allowed lp to remove all jobs (important now that lpd runs as lp) LPRM: Added security ticket management 9TH JUN 2002 Alpha 2 LPD: start made on code for remote job security. LPD: code rewritten to make adding functions manageable. LPD: added loads of code to allow killing and respawning of subdaemons if the current job needs to be removed. LPD: changed umask to 077. LPR: changed umask to 077. LPRM: added removal of remote jobs.