[Gllug] LP jobs owned by root, so CUPS can't cancel them.

Mike Brodbelt mike at coruscant.demon.co.uk
Wed Jul 14 20:17:00 UTC 2004


On Wed, 2004-07-14 at 16:09, Tom Schutzer-Weissmann wrote:

> That's not it. The job owner is an attribute of the job, and gets set by whatever injects the job into the queue. Nothing to do with filters.
> So Samba can do this by setting the print command to pass the Samba username to the lpr command:
> print command =       /usr/bin/lpr  -U%U@%M -P%p -r %s,

Samba does not use the print command when printing is set to CUPS. For
cups based printing, Samba is linked against libcupsys when the binaries
are compiled, and submits jobs by calling cups functions directly.

Mike.

-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list