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