[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#659999: lprng: Cannot print from network client



* Anthony Campbell <ac@acampbell.org.uk> [120215 18:38]:
> Following a recent reinstallation of the system after a hard disk crash
> I can no longer print from a laptop elsewhere on the LAN. (Previouly
> this worked perfectly.)  Printing from the computer to which the printer
> is attached does work.

Just to be sure I understand correctly: the laptop is not the one
with the new lprng installation, but that is a different computer
and your laptop should send the job to the lprng running on the
computer with the printer?

> At first I was getting "connection refused". After reading some earlier
> bug reports I added the following line to /etc/lprng/lpd.conf:
> 
> lpd_listen_port=515 
> 
> I now get "No connection permissions".
> 
> There is no firewall running on either host or client. I can ping and
> ssh in both directions.

AFAIR lprng does not allow remote access by default.
You have to edit /etc/lprng/lpd.perms and either remove
(or turn to a comment by prepending #) the line stating

REJECT NOT SERVER

You might also want to edit the following lines. The defaults
include everyone may print and everyone claiming to be from the
same host and having the same user name (note that neither is
verified, it's just the values the client sends) may control
(including delete) jobs.

        Bernhard R. Link




Reply to: