spoolss: fix jobid in level 3 EnumJobs response
commitbcd16d68ac1ccdd1158ff1e3c1d73fd6cfdfef6d
authorDavid Disseldorp <ddiss@samba.org>
Thu, 30 Oct 2014 00:37:50 +0000 (30 01:37 +0100)
committerKarolin Seeger <kseeger@samba.org>
Mon, 17 Nov 2014 20:21:12 +0000 (17 21:21 +0100)
treed18ac97db1498183106506da6f5cb9fd63d274d0
parent20f803ba0202f94dc357ac703174fd1bcc4b5a4f
spoolss: fix jobid in level 3 EnumJobs response

Until now, these responses have incorrectly carried the printing backend
job identifier (sysjob), rather than the one allocated and returned by
Samba on job submission.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=10905

Reported-by: Franz Pförtsch <franz.pfoertsch@brose.com>
Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 5e7ab3d2f4f7950099561eb22d6a9a1536297442)
source3/rpc_server/spoolss/srv_spoolss_nt.c