Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!ukc!mucs!cns!jf From: jf@ap.co.umist.ac.uk (John Forrest) Newsgroups: comp.sys.apollo Subject: Re: lpr/lpd problems (revisited) Message-ID: <1991Mar8.095342.26488@cns.umist.ac.uk> Date: 8 Mar 91 09:53:42 GMT References: <1991Mar3.135954.39621@eagle.wesleyan.edu> <1991Mar6.213032.39820@eagle.wesleyan.edu> Sender: news@cns.umist.ac.uk (Usenet news) Organization: comp Lines: 37 In article hanche@imf.unit.no (Harald Hanche-Olsen) writes: >In article <1991Mar6.213032.39820@eagle.wesleyan.edu> hdtodd@eagle.wesleyan.edu writes: > > Unfortunately I need the fully-articulated name as hostname to > support sendmail. > >Not true, at least not if you are willing to put the hostname >explicitly into sendmail.cf (excerpt from ours): > If you are running BIND, you routinely need to use the full hostname (domain and all). If not, you can do what you like - it all depends on what you make the "official name" in the /etc/host file. Surely? We use BIND, and have lpr/lpd working fine - although we do use prf to do the final printing (I'm not going to get into the other discussion here). What we might do differently is that we gave up trying to have a single lpd server on the network - that is relying on Apollo extensions - and fell back on the basic Unix mechanisms. That is, each host on our network runs an lpd and each has a set of /usr/spool/lpd directories. We basically have two different printcap entries - one machine is nominated as the "print site", and the other machines are set up so that they transfer files to that host (by specifying remote printer and host). That way, if we change the prf entry, there is less to change. There was a bit of problem setting this up, but nothing a shell script could not do - you have to remember to create all the spool directories on each node and especially to set the access rights correctly. The system works fine, and is equally usable using remote printers on other Unix machines. A further point, the /etc/hosts.equiv or /etc/hosts.lpd also have to have full names to work satisfactorily. John Forrest Dept of Computation UMIST