spoolss: fix jobid in level 2 GetJob and EnumJobs responses
commit45abaf81c67b62bab571df208931241afa660802
authorDavid Disseldorp <ddiss@samba.org>
Thu, 30 Oct 2014 00:37:49 +0000 (30 01:37 +0100)
committerJeremy Allison <jra@samba.org>
Thu, 30 Oct 2014 05:52:04 +0000 (30 06:52 +0100)
tree297b7c741992c1f7b51e11b42f9a385da5d746ca
parent4d7f5d2af6ef6960dccaccf89c6e88947e2591bf
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>
source3/rpc_server/spoolss/srv_spoolss_nt.c