svn commit: samba r5691 - in branches/SAMBA_3_0/source/printing: .

jerry at samba.org jerry at samba.org
Tue Mar 8 17:22:39 GMT 2005


Author: jerry
Date: 2005-03-08 17:22:39 +0000 (Tue, 08 Mar 2005)
New Revision: 5691

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=5691

Log:
wrapping the pause/resume/purge printer commands in 
{become,unbecome}_root() blocks.  We've already done
a print_access_check() to ensure the user is admin.
The means that non-root users can pause and manage printers.
I really don't see how this worked before without setuid 
binaries on the server.

Also update print_queue_update() interface to allow an smbd
to update the print queue cache locally rather than going through
the bg lpq daemon.  This is needed for things like pjob_delete()
to ensure the cache is current for the specific client.






Modified:
   branches/SAMBA_3_0/source/printing/printing.c


Changeset:
Sorry, the patch is too large (285 lines) to include; please use WebSVN to see it!
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=5691


More information about the samba-cvs mailing list