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. -----------------------------------------------------------------------------
