spoolss: fix jobid in level 1 GetJob and EnumJobs responses
commite1fb94b764934478eeb6674fa869c81bf72042da
authorDavid Disseldorp <ddiss@samba.org>
Thu, 30 Oct 2014 00:37:48 +0000 (30 01:37 +0100)
committerKarolin Seeger <kseeger@samba.org>
Mon, 17 Nov 2014 20:21:11 +0000 (17 21:21 +0100)
treeaa76b8d71be4cce6f62f6cb143bb0feacb9b37d7
parent7bf4cb07163d62ebc2e4155b74e108a812e362ff
spoolss: fix jobid in level 1 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 4d7f5d2af6ef6960dccaccf89c6e88947e2591bf)
source3/rpc_server/spoolss/srv_spoolss_nt.c