summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-03-08 17:22:39 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:55:55 -0500
commitad4fe018c2c6c6a57ea8a57911846afdc6c71bed (patch)
tree8a2af79477e32bc746b0f3e4cc1965d63d722587 /source3/include
parent90dfded4df4afca142a36d3b6dd7f668ba4eba81 (diff)
downloadsamba-ad4fe018c2c6c6a57ea8a57911846afdc6c71bed.tar.gz
samba-ad4fe018c2c6c6a57ea8a57911846afdc6c71bed.tar.bz2
samba-ad4fe018c2c6c6a57ea8a57911846afdc6c71bed.zip
r5691: 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. (This used to be commit f75369ec865f4ba1ae8201ae750c0f45158ed536)
Diffstat (limited to 'source3/include')
0 files changed, 0 insertions, 0 deletions