Günther Deschner
5ce523bbed
s3-spoolss: Fix Coverity ID #891 (UNINIT).
...
Guenther
2009-03-06 14:58:49 +01:00
Günther Deschner
8614ce5ca7
s3-spoolss: remove old _spoolss_EnumForms.
...
Guenther
2009-03-06 14:32:46 +01:00
Günther Deschner
f9bf09e255
s3-spoolss: use pidl for _spoolss_EnumForms.
...
Guenther
2009-03-06 14:32:15 +01:00
Günther Deschner
670a22852c
s3-spoolss: use DSPRINT flags instead of SPOOLS_DS flags.
...
Guenther
2009-02-27 13:33:15 +01:00
Günther Deschner
44ceff4d01
s3-spoolss: fix search_notify(). sorry...
...
Guenther
2009-02-26 13:19:24 +01:00
Günther Deschner
54b529a44e
s3-spoolss: job status defines moved to IDL.
...
Guenther
2009-02-26 13:17:23 +01:00
Günther Deschner
3e25d3bb15
s3-spoolss: remove some unused defines and structs.
...
Guenther
2009-02-26 13:17:22 +01:00
Günther Deschner
9e54f4151c
s3-spoolss: fix _spoolss_AddJob behaviour.
...
Guenther
2009-02-25 23:48:30 +01:00
Günther Deschner
03efdcb7cb
s3-spoolss: make us pass the RPC-SPOOLSS torture test w.r.t. directory calls.
...
Guenther
2009-02-25 21:18:09 +01:00
Günther Deschner
00173c6ce6
s3-spoolss: merge path handling in _spoolss_PrintProcessorDirectory and
...
_spoolss_PrinterDriverDirectory.
Guenther
2009-02-24 11:03:28 +01:00
Günther Deschner
c1e76d0dd9
s3-spoolss: use pidl for _spoolss_RemoteFindFirstPrinterChangeNotifyEx.
...
Guenther
2009-02-23 16:17:38 +01:00
Günther Deschner
b3f6d69108
s3-spoolss: use spoolss_NotifyOption and spoolss_NotifyType instead of SPOOL_NOTIFY_OPTION and SPOOL_NOTIFY_OPTION_TYPE.
...
Guenther
2009-02-23 16:17:37 +01:00
Günther Deschner
2efa7cf6d9
s3-spoolss: add dup_spoolss_NotifyOption.
...
Guenther
2009-02-23 16:17:37 +01:00
Günther Deschner
418691c2e7
s3-spoolss: use more idl types in spoolss server.
...
Guenther
2009-02-23 16:17:36 +01:00
Günther Deschner
9b453f9248
s3-spoolss: fix memleak of spoolss_Notify array in _spoolss_RouterRefreshPrinterChangeNotify.
...
Guenther
2009-02-23 16:17:35 +01:00
Günther Deschner
9af13015b2
s3-spoolss: use rpccli_spoolss_RouterReplyPrinterEx.
...
Guenther
2009-02-23 16:17:35 +01:00
Günther Deschner
5116f50eb8
s3-spoolss: use pidl for _spoolss_RouterRefreshPrinterChangeNotify.
...
Guenther
2009-02-23 16:17:35 +01:00
Günther Deschner
6259fac904
s3-spoolss: use struct spoolss_NotifyInfo instead of SPOOL_NOTIFY_INFO.
...
Guenther
2009-02-23 16:17:35 +01:00
Günther Deschner
03a15f2381
s3-spoolss: use struct spoolss_Notify instead of SPOOL_NOTIFY_INFO_DATA.
...
Guenther
2009-02-23 16:17:34 +01:00
Günther Deschner
d3372c6a9e
s3-spoolss: fix _spoolss_GetPrinterDriverDirectory and spoolss_GetPrintProcessorDirectory.
...
Both calls need to return NULL in the error case to avoid ndr encoding problems.
(found by smbtorture spoolss test).
Guenther
2009-02-21 21:14:20 +01:00
Günther Deschner
669617036e
s3-spoolss: fix vista fallback in _spoolss_AddPrinterDriverEx.
...
Martin Zielinski, if you're reading this, please have a look. Vista nicely takes
just a WERR_UNKNOWN_LEVEL here and retries with a level 6 add.
Guenther
2009-02-19 19:27:07 +01:00
Günther Deschner
0470feeb7f
s3-spoolss: use pidl for _spoolss_AddPrinterDriver{Ex}.
...
Guenther
2009-02-19 19:26:44 +01:00
Günther Deschner
286ec6847b
s3-spoolss: use pidl for _spoolss_GetPrintProcessorDirectory.
...
Guenther.
2009-02-19 19:21:57 +01:00
Günther Deschner
e9c42e3c21
s3-spoolss: fix _spoolss_GetPrinterDriverDirectory.
...
treat architecture correctly as it is a [unique] pointer, and newer
Windows versions sometimes send in an empty string.
Guenther
2009-02-19 19:20:19 +01:00
Günther Deschner
0038acb20d
s3-spoolss: _spoolss_OpenPrinterEx needs to wipe out policy handle upon failure.
...
Guenther
2009-02-19 19:19:59 +01:00
Günther Deschner
bcb5331fa7
s3-spoolss: _spoolss_AddPrinterEx needs to wipe out policy handle upon failure.
...
Guenther
2009-02-19 19:19:50 +01:00
Günther Deschner
3b3ab50c05
s3-spoolss: use pidl for _spoolss_GetPrinterDriverDirectory.
...
Guenther
2009-02-19 02:06:57 +01:00
Günther Deschner
8dbb1d63e5
s3-spoolss: add support for "AddPort" via _spoolss_XcvData for Vista.
...
Guenther
2009-02-19 00:56:07 +01:00
Günther Deschner
7312342062
s3-spoolss: use pidl for _spoolss_XcvData.
...
Guenther
2009-02-18 16:11:01 +01:00
Günther Deschner
ce71a7c9a7
s3-spoolss: use pidl for _spoolss_ResetPrinter.
...
Guenther
2009-02-17 10:52:31 +01:00
Günther Deschner
bcdf345df9
s3-spoolss: remove unused convert_printer_info.
...
Guenther
2009-02-14 01:42:11 +01:00
Günther Deschner
cd2af58af9
s3-spoolss: use pidl for _spoolss_SetPrinter.
...
Guenther
2009-02-14 01:42:07 +01:00
Günther Deschner
fbcccbc410
s3-spoolss: use pidl for _spoolss_AddPrinterEx.
...
Guenther
2009-02-14 01:42:01 +01:00
Günther Deschner
9992827838
s3-spoolss: add printer_info2_to_nt_printer_info2 and convert_printer_info_new.
...
Guenther
2009-02-14 01:42:00 +01:00
Jeremy Allison
49b52ec16f
Parameterize in local.h the MAX_RPC_DATA_SIZE, and ensure
...
that "offered" read from the rpc packet in spoolss is under
that size. Tidyup from analysis from Veracode.
Jeremy.
2009-02-13 16:06:17 -08:00
Günther Deschner
a4b0c5d871
s3-spoolss: use pidl for _spoolss_SetPrinterDataEx.
...
Guenther
2009-02-12 22:51:29 +01:00
Günther Deschner
97f15fcd68
s3-spoolss: use pidl for _spoolss_GetPrinterDataEx.
...
Guenther
2009-02-12 22:51:29 +01:00
Günther Deschner
2a311b1ea7
s3-spoolss: use SPOOLSS_PRINTER_CONTROL flags defined in IDL.
...
Guenther
2009-02-11 22:42:01 +01:00
Günther Deschner
75faf7765b
s3-spoolss: Fix uninitialised variable warning.
...
Guenther
2009-02-11 22:36:33 +01:00
Günther Deschner
e32b26931f
s3-spoolss: fix rpc_server stub names for opnum 0x42 and 0x43.
...
Guenther
2009-02-11 22:35:49 +01:00
Günther Deschner
aee462893b
s3-spoolss: use rpccli_spoolss_ReplyOpenPrinter.
...
Guenther
2009-02-10 23:57:30 +01:00
Günther Deschner
96f05fcd1c
s3-spoolss: use pidl for _spoolss_OpenPrinter.
...
Guenther
2009-02-10 11:26:58 +01:00
Günther Deschner
3d4221a9cb
s3-spoolss: remove old spoolss_OpenPrinterEx.
...
Guenther
2009-02-10 11:26:52 +01:00
Günther Deschner
b4bda6da5a
s3-spoolss: use pidl for _spoolss_OpenPrinterEx.
...
Guenther
2009-02-10 11:26:45 +01:00
Günther Deschner
e4b5e67566
s3-spoolss: use pidl for _spoolss_SetJob.
...
Guenther
2009-02-10 11:26:33 +01:00
Günther Deschner
0a34c140cc
s3-spoolss: use pidl for _spoolss_StartDocPrinter.
...
Guenther
2009-02-10 11:26:19 +01:00
Günther Deschner
46200a7cd4
s3-spoolss: add temporary convert_devicemode_new function.
...
Guenther
2009-02-10 11:24:47 +01:00
Günther Deschner
ee469585eb
s3-spoolss: use SPOOLSS_JOB_CONTROL bits defined in IDL.
...
Guenther
2009-02-10 11:09:51 +01:00
Tim Prouty
1d65b7a742
s3 spoolss: arch needs to be set before it's passed to get_version_id.
...
7717ad6880
left arch unitialized.
Guenther, please check.
2009-02-09 16:12:20 -08:00
Günther Deschner
0d281b76a9
s3-spoolss: use pidl for _spoolss_ScheduleJob.
...
Guenther
2009-02-09 22:48:14 +01:00