1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-08 21:18:16 +03:00
samba-mirror/source3/rpc_server/spoolss
Günther Deschner e7a4c86878 s3-iremotewinspool: properly map incoming PAR to RPRN requests.
Map the incoming iremotewinspool opnum to match the appropriate call in
the spoolss server in the pull path.

There is no 1:1 mapping in the opnums between the procols, only in the
corresponding functions.

Without doing the mapping we currently forward
e.g. winspool_AsyncOpenPrinter() to spoolss_EnumPrinters() leading to
all sorts of errors.

A correct mapping was in place earlier with an handsorted server call
table but it got removed with the rpc server rewrite.

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2023-10-13 02:18:31 +00:00
..
iremotewinspool_util.c s3-iremotewinspool: add PAR->RPRN mapping table 2023-10-13 02:18:31 +00:00
iremotewinspool_util.h s3-iremotewinspool: add PAR->RPRN mapping table 2023-10-13 02:18:31 +00:00
srv_iremotewinspool_nt.c s3:rpc_server: Do not include s3 autogenerated headers 2020-03-20 15:36:36 +00:00
srv_iremotewinspool.c s3-iremotewinspool: properly map incoming PAR to RPRN requests. 2023-10-13 02:18:31 +00:00
srv_spoolss_handle.h
srv_spoolss_nt.c s3:rpc_server: Fix incomplete logging messages 2023-08-08 04:39:38 +00:00
srv_spoolss_nt.h
srv_spoolss_util.c
srv_spoolss_util.h