spoolss: fix jobid in level 2 GetJob and EnumJobs responses
commit2a9764ab5c23349e3f13b242482967b1c4904766
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 19:57:10 +0000 (17 20:57 +0100)
tree921b35c03ea1226f329373085fed01e91ac5d17a
parent3a3577dfe35eb88e6202f3c48cdf19bec71fbe1a
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