Re: Remote Unix printer - Permissions

1999-03-16 Thread Daniel Mashao
On Mon, 15 Mar 1999, John Stevenson wrote:

> Hello,
> 
> I am running a linux print server that is working very nicely
> with win95 clients (using samba) but am having trouble
> connecting to the printer from linux clients.
> 
> I have read the printing howto (see snippet below) and it refers
> to the /etc/hosts.lpd file, but I have know idea what the
> structure of this file is supposed to be.
I am not sure if this will help you but looking at the machine that we are
printing to, the contents of its file is

comic5 % more /etc/hosts.lpd 
# /etc/hosts.lpd: list of hosts that are allowed to use the printing
# services of this machine.  See lpd(8).
# $Id: hosts.lpd,v 2.0 1994/06/30 17:14:15 imurdock Exp $
.ee.edu.za


Which I think means allow all machines with ips matching *.ee.edu.za. 
Somehow this machines must appear in /etc/hosts.  Good luck - as I said I
do not know if it will be helpful but at least it shows the contents of
our /etc/hosts.lpd file

/--/
Daniel J. Mashao
Electrical Engineering  [EMAIL PROTECTED]
University of Cape Town http://www.ee.uct.ac.za/~daniel 
Rondebosch, 7700, S. Africa (w) 27+21+650 2816  (h) 27+21+705 8469
/--/


Remote Unix printer - Permissions

1999-03-15 Thread John Stevenson
Hello,

I am running a linux print server that is working very nicely
with win95 clients (using samba) but am having trouble
connecting to the printer from linux clients.

I have read the printing howto (see snippet below) and it refers
to the /etc/hosts.lpd file, but I have know idea what the
structure of this file is supposed to be.

I have tried this from debian and from the red hat printing
tool, both configs are refused permission.  So I assume that I
need to enter details about which computers can print in the
remote hosts /etc/hosts.lpd config file.  

Anyone have any examples of this file.

Thanks in advance.
John.


Printing HOWTO snippet:

To allow remote machines to print to your printer, you must list
the machines in /etc/hosts.equiv or /etc/hosts.lpd. (Note that
hosts.equiv has a host of other effects; be
sure you know what you are doing if you list any machine there).
You can allow only certain users on the other machines to print
to your printer by usign the rs
attribute; read the lpd man page for information on this.