PCNFS DAEMON VERSION 2

PCNFSD provides support for user authentication and printer 
sharing. It allows users to identify themselves to the system and be 
granted appropriate privileges for file access and program execution 
on the network. 

The PCNFSD version 2 daemon allows PC users to print on printers 
attached to servers and workstation within the network and to 
monitor print jobs in network print queues.

This new PCNFSD version provides users with enhanced printing 
services such as browsing for network printers, viewing network 
print queues, canceling or removing print jobs in network print 
queues, obtaining a list of printers on the server and displaying the 
status of a printer.

You can run PCNFSD on a single server, several servers, or all 
servers on the network. It is recommended, particularly in a large 
network, that you run PCNFSD on several or all of the servers on 
the network.  If you run PCNFSD on a single server, this machine 
will be used for all PC-NFSD authentication and printing and if this 
machine fails, users will not be able to either log in or print form 
their PCs to a network printer. Also a PC may not be able to access 
the PCNFSD server if a gateway in the network fails.

INSTALLATION 

To install the PCNFS Daemon version 2 on the UNIX system, follow 
the steps bellow:

Copy (using FTP) the file 'pcnfsd2.trz' and 'build' to a designated 
directory on your UNIX machine.

Note: If you upgrade from PCNFSD version 1, first rename the 
PCNFSD version 1 daemon, and then proceed with the installation 
as described.  For example, you may rename /usr/etc/rpc.pcnfs to 
/usr/etc/rpc.pcnfsd.v1. 

>From within this directory, type 'build' to extract all files and compile 
the sources. The build process creates a file called rpc.pcnfsd. The 
rpc.pcnfsd is a program that runs continuously on a server to service 
user authentication and network printing requests.

Add the rpc.pcnfsd to your /etc/rc.local startup file. The PCNFS 
Daemon will then be invoked by the /etc/rc.local file. 

Reboot your machine.


PRINTING 

For printing configuration,  the PCNFS Daemon creates the 
directory /usr/spool/pcnfs. You must add this directory to your  
/etc/exports file. 

PCNFSD will then create a subdirectory under the /usr/spool/pcnfs 
for each client PC sending a print request to the daemon. 
For example, PCNFSD creates the spool directory  
/usr/spool/pcnfs/carol  for the client PC, carol.

If the network drive containing the default spool directory is almost 
full, you may want to create a different spool directory on a network 
drive with more space. 

If your default spool directory is other than /usr/spool/pcnfs or 
/var/spool/pcnfs, you will need to create or modify your /etc/pcnfs.conf 
file and insert the following command into the file:

	spooldir  /usr/spoolprint

where /usr/spoolprint is the new name of the spool directory. 

In this case, PCNFSD will create a subdirectory for each client PC 
under the /usr/spoolprint directory.
 
For example, if you changed the default spool directory 
/usr/spool/pcnfs to /usr1/spoolprint, PCNFS will create a subdirecotry 
with this new spool directory for each client PC  that sends it a print 
request.


OTHER INFORMATION

Different UNIX systems may require changes to the Daemon to allow 
it to work properly on those systems. Contact your UNIX system 
vendor who may already have a version of the PCNFSD available for 
their product.

Sources of PCNFSD for different UNIX systems can also be found on 
the Internet system under "bcm.tmc.edu".  



