[PATCH 0/2] Bug 10482: fix printer job purging

David Disseldorp ddiss at samba.org
Wed May 21 13:55:57 MDT 2014

At SambaXP BarCamp this year, Franz Pförtsch demonstrated a bug in
Samba's handling of SetPrinter(SPOOLSS_PRINTER_CONTROL_PURGE) requests.
Samba fails to abort all jobs, as it attempts to use the jobid allocated
by the printing backend (sysjob) rather than the spoolss allocated

This patch set fixes the bug and adds an smbtorture regression test.

The following changes since commit 634f116fbb89d723a627f4501b4cd89342cecb8e:

  provision: Correctly provision the SOA record minimum TTL (2014-05-21 10:55:00 +0200)

are available in the git repository at:

  git://git.samba.org/ddiss/samba.git print_queue_purge

for you to fetch changes up to c6d3309695d9f1de4fc9f6791bc46f9238c5171c:

  s4-torture: add print_test_purge (2014-05-21 21:46:46 +0200)

David Disseldorp (2):
      printing: fix purge of all print jobs
      s4-torture: add print_test_purge

 source3/printing/printing.c   | 23 +++++++++++++++++++----
 source4/torture/rpc/spoolss.c | 84 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 103 insertions(+), 4 deletions(-)

More information about the samba-technical mailing list