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