Would you consider setting up a samba server to share your printers? There
are numerous ways to manipulate access to a shared resource with samba.
lpd.perms is very hard for me to understand.

Joel

On Thu, Dec 19, 2002 at 04:33:02PM +0100, Thies Meincke wrote:
> Hi,
> 
> maybe the DEFAULT REJECT should be at the beginning, before
> you allow printing for certain printers, however I have not
> tested it so far.
> 
> Regards,
> 
> Thies Meincke
> 
> On Thu, 19 Dec 2002 [EMAIL PROTECTED] wrote:
> 
> > Hi all,
> >
> > I have seen messages on this list claiming it is possible to have
> > different ACLs per printer. However, for me, some combinations work,
> > while others don't.
> > What I'd like to do is:
> > -ACCEPT/REJECT print jobs depending on the requested printer name and
> > the originating IP
> > -In case of a REJECT, let the client know that it was rejected
> > (preferably the same way the old LPR/LPD did this when a client wasn't
> > listed in hosts.lpd) - what I don't want is the behavior that the print
> > job gets accepted, then discarded.
> >
> > What I've tried so far:
> > REJECT REMOTEIP=10.0.0.2 PRINTER=pr1
> > ACCEPT REMOTEIP=10.0.0.2 PRINTER=pr2
> > DEFAULT REJECT
> > This denies printing from 10.0.0.2 to pr1, however, it does not tell the
> > client about it, it just discards the job after it has arrived.
> >
> >
> > REJECT SERVICE=X PRINTER=pr1 REMOTEIP=10.0.0.2
> > ACCEPT SERVICE=X PRINTER=pr2 REMOTEIP=10.0.0.2
> > DEFAULT REJECT
> > This denies printing (or rather: connecting) to 10.0.0.2, regardless of
> > the selected printer. Not quite the result I expected or needed.
> >
> > Is there anyone who could shed some light on this issue, and who could
> > tell me what I can do to solve the problem?
> >
> > Kind Regards,
> > Stefan
> >
> > -----------------------------------------------------------------------------
> > YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
> > The address you post from MUST be your subscription address
> >
> > If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
> > or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
> > to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
> > with:                           | example:
> > subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
> > unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]
> >
> > If you have major problems,  send email to [EMAIL PROTECTED] with the word
> > LPRNGLIST in the SUBJECT line.
> > -----------------------------------------------------------------------------
> >
> 
> +----------------------------+-------------------------------------------+
> | Thies Meincke              | Tel.  : 040/42838-6355 (BN: 0.42838-6355) |
> | Universitaet Hamburg       | Fax   : 040/42838-6270 (BN: 0.42838-6270) |
> | Regionales Rechenzentrum   | E-mail: [EMAIL PROTECTED]        |
> | Schlueterstr. 70           | URL   : http://www.rrz.uni-hamburg.de/    |
> | 20146 Hamburg              |         RRZ/Personal/TMeincke.html        |
> +----------------------------+-------------------------------------------+
> 
> 
> -----------------------------------------------------------------------------
> YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
> The address you post from MUST be your subscription address
> 
> If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
> or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
> to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
> with:                           | example:
> subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
> unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]
> 
> If you have major problems,  send email to [EMAIL PROTECTED] with the word
> LPRNGLIST in the SUBJECT line.
> -----------------------------------------------------------------------------

-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address

If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:                           | example:
subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------

Reply via email to