[cups.general] How to deny samba printing on certain queues?

Michael Sweet msweet at apple.com
Wed Nov 11 08:41:45 PST 2009


On Nov 11, 2009, at 7:42 AM, Kyle Schmitt wrote:
> I'm wondering how to deny samba printing on certain queues?

Samba should only show printers that are actually shared by cupsd, so  
if you just want to prevent printing from any remote host you can  
toggle the "printer-is-shared" setting, either from the web interface  
or with lpadmin:

     lpadmin -p printer -o printer-is-shared=true/false

> Is there a way to craft that to deny jobs from a particular process,  
> in this case smbd?

No.

> Also, am I correct in assuming that the policies don't cascade?   
> That is my "nosmb" policy would have to contain an entire policy,  
> not just what is different from the default.

Correct. See:

     http://localhost:631/help/policies.html

for some examples.

___________________________________________________
Michael Sweet, Senior Printing System Engineer







More information about the cups mailing list