spoolss: fix jobid in level 2 GetJob and EnumJobs responses
commit20f803ba0202f94dc357ac703174fd1bcc4b5a4f
authorDavid Disseldorp <ddiss@samba.org>
Thu, 30 Oct 2014 00:37:49 +0000 (30 01:37 +0100)
committerKarolin Seeger <kseeger@samba.org>
Mon, 17 Nov 2014 20:21:12 +0000 (17 21:21 +0100)
treeac9730e6f02c4f144910dfae29379e459e94fd69
parente1fb94b764934478eeb6674fa869c81bf72042da
spoolss: fix jobid in level 2 GetJob and EnumJobs responses

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 45abaf81c67b62bab571df208931241afa660802)
source3/rpc_server/spoolss/srv_spoolss_nt.c