spoolss: fix jobid in level 2 GetJob and EnumJobs responses
commit89e112dd7bccf6143a358d20024c8d60227034a4
authorDavid Disseldorp <ddiss@samba.org>
Thu, 30 Oct 2014 00:37:49 +0000 (30 01:37 +0100)
committerKarolin Seeger <kseeger@samba.org>
Tue, 18 Nov 2014 20:09:03 +0000 (18 21:09 +0100)
treea0c33e6e9e0466671e7577a26a581a70ab3f5198
parent8812febafc459c10596e70e0263bd31cdd5bfb6c
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