tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Dieter Meinert <dieter.meinert () aip ! de>
To: tru64-unix-managers
Subject: Summary: No remote printer access
Date: Thu, 10 Feb 2000 12:57:15 +0000	[thread overview]
Message-ID: <96079336919318.tru64-unix-managers.marc@archive.invalid> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 4353 bytes --]

-----BEGIN PGP SIGNED MESSAGE-----


Sure I missed something: I tried to print a large file that was
only linked to the spool directory, - from a directory only
readable by myself, so lpd on the remote host (not a privileged
id locally !) couldn't get at it while the local lpd has root
privilege !

Thanks anyway to both Peters, Peter.Stern@weizmann.ac.il and
p.mittermayer@astro.univie.ac.at who both suggested to put a line
":lp:\" into the remote printcap.
But the printer also works without that.

|=>   dieter@calypso.aip.de using -f
|=>  
|=>  -----BEGIN PGP SIGNED MESSAGE-----
|=>  
|=>  
|=>  Hi folks,
|=>  
|=>  I have a problem with a revived printer connected to the lp0 port
|=>  of one of our alphas (Tru64v4.0f):
|=>  
|=>  I installed an input filter (perl script) for this printer to
|=>  give it PostScript and other capacities.
|=>  All works fine locally.
|=>  
|=>  Now I want to acces the printer from a remote machine and get the
|=>  message:
|=>  
|=>  
|=>  Printing is allowed in /etc/hosts.lpd
|=>  
|=>  The printcap entries are as follows:
|=>  
|=>  Local:
|=>  #PCL Local Printer with PS filter
|=>  drucker|lp14:\
|=>          :lf=/usr/adm/lp14err:\
|=>          :if=/etc/drucker-if:\
|=>          :lp=/dev/lp0:\
|=>          :sd=/var/spool/lpd14:\
|=>          :ct=dev:\
|=>          :sh:
|=>  
|=>  Remote:
|=>  #PostScript remote
|=>  drucker|lp14|14:\
|=>          :ct=remote:\
|=>          :lf=/usr/adm/lp14err:\
|=>          :mc#0:\
|=>          :mx#0:\
|=>          :rm=calypso:\
|=>          :rp=drucker:\
|=>          :sd=/usr/spool/lpd14:\
|=>          :sh:
|=>  
|=>  The syslog says the following, not very useful to me:
|=>  
|=>  Feb 10 10:36:55 calypso lpd[4590]: DEBUG -- lpd: accept on unix socket
|=>  Feb 10 10:36:55 calypso lpd[4590]: DEBUG -- fork_with_retries: child pid
|=>  Feb 10 10:36:55 calypso lpd[4627]: DEBUG -- chkhost: entered chkhost()
|=>  Feb 10 10:36:55 calypso lpd[4627]: DEBUG -- chkhost: checking ahost=colo
|=>  ssus, domain=alpha, baselen=-1
|=>  Feb 10 10:36:55 calypso lpd[4627]: DEBUG -- chkhost: connection to print
|=>  er is not allowed in /etc/hosts.equiv
|=>  Feb 10 10:36:55 calypso lpd[4627]: DEBUG -- chkhost: connection to print
|=>  er is ok in /etc/hosts.lpd
|=>  Feb 10 10:36:55 calypso lpd[4627]: DEBUG -- colossus requests recvjob dr
|=>  ucker
|=>  Feb 10 10:36:55 calypso lpd[4627]: DEBUG -- lpd/doit: got RECVJOB reques
|=>  t for printer drucker
|=>  Feb 10 10:36:55 calypso lpd[4627]: ERROR -- calypso: /usr/lbin/lpd: Ille
|=>  gal service request (2) from colossus
|=>  Feb 10 10:36:55 calypso lpd[4627]: ERROR -- exiting ...
|=>  
|=>  BTW, the same happens when I try to send a print job via a second
|=>  host, only this interim host has the problem then.
|=>  
|=>  Obviously I am missing an important entry in some config file,
|=>  but the man page for lpd and printcap isn't any help since it does not list
|=>  any diagnostics.
|=>  
|=>  tia,
|=>  
|=>  Tsch��,
|=>  						Dieter 
|=>   
|=>    _____________________________*__________________________________
|=>   /                          *       dieter.meinert@aip.de         \
|=>   \ Dieter Meinert    (-      **     http://www.aip.de/~dieter/     \
|=>    \__________________A______*__*___________________________________/
|=>             (public pgp key from http://www.aip.de/~dieter/)
|=>  
|=>  -----BEGIN PGP SIGNATURE-----
|=>  
|=>  iQCVAwUBOKKKSvYksnFoaQ6JAQHG/gP/VX17xBrLfOoXC5PylK5quEmP8pLnzU5W
|=>  4+foI2h+AIUBZEf/pgzlew/iGlNKDVzSHfHeD3BZQEIPHGkUVcRj+TII5vSREhS4
|=>  aIieHwz/xMiaVjdElT/guomhUMmgvDFhHtoPqjN3oQX09PXHBwxza76Qw+HWWpV1
|=>  lhZRdPGpBQA=
|=>  =AqTz
|=>  -----END PGP SIGNATURE-----
|=>  


Tsch��,
						Dieter 
 
  _____________________________*__________________________________
 /                          *       dieter.meinert@aip.de         \
 \ Dieter Meinert    (-      **     http://www.aip.de/~dieter/     \
  \__________________A______*__*___________________________________/
           (public pgp key from http://www.aip.de/~dieter/)

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: latin1

iQCVAwUBOKK1qvYksnFoaQ6JAQFrpgP5AZCt+YDpzlWy8cmR/mtSs4cGxBI1C8/n
kPXutn/CmcNeZPq6bJ3W1zOkogIVbvtcPt5PFxjFoOeCe/JFqQuwCvB9y6tEeCOK
FS1vce37UstUrZdFXFs0P3VeKY9ypHPN048PKtkg8II8L6PrGVJ5UY2M5CudlNHR
8sBOeVZeH7o=
=K4pO
-----END PGP SIGNATURE-----

                 reply	other threads:[~2000-02-10 12:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox