spoolss: fix jobid in level 3 EnumJobs response
commitb7f4c0f9e840631e9deee46ff95d6f2e740222ab
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 19:57:10 +0000 (17 20:57 +0100)
tree577f6c2b3f951074633c58ec4bf35f4fff4d89ca
parent2a9764ab5c23349e3f13b242482967b1c4904766
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