1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-07 17:18:11 +03:00
Commit Graph

618 Commits

Author SHA1 Message Date
Günther Deschner
d6e2ef51ec s3-spoolss: use pidl for _spoolss_EnumPrinterDrivers.
Guenther
2009-03-13 09:25:23 +01:00
Günther Deschner
e605e4503c s3-spoolss: remove old spoolss_GetJob and spoolss_EnumJob.
Guenther
2009-03-13 09:25:22 +01:00
Günther Deschner
9b143e6de5 s3-spoolss: use pidl for _spoolss_GetJob.
Guenther
2009-03-13 09:25:21 +01:00
Günther Deschner
b80e3e5724 s3-spoolss: use pidl for _spoolss_EnumJobs.
Guenther
2009-03-13 09:25:21 +01:00
Günther Deschner
661e81d48c s3-spoolss: add construct_dev_mode_new.
Guenther
2009-03-13 09:25:21 +01:00
Günther Deschner
427987d2bf s3-spoolss: use macros for _spoolss_GetForm and split out level 1 get.
Guenther
2009-03-13 09:25:20 +01:00
Günther Deschner
635b8070b6 s3-spoolss: use macros for _spoolss_EnumForms and split out level 1 enum.
Guenther
2009-03-13 09:25:20 +01:00
Günther Deschner
b2b3cfbe31 s3-spoolss: use macros for _spoolss_GetPrintProcessorDirectory.
Guenther
2009-03-13 09:25:20 +01:00
Günther Deschner
75d88f460f s3-spoolss: use macros for _spoolss_GetPrinterDriverDirectory.
Guenther
2009-03-13 09:25:19 +01:00
Günther Deschner
dfe71b05a7 s3-spoolss: use macros for _spoolss_EnumMonitors.
Guenther
2009-03-13 09:25:19 +01:00
Günther Deschner
8d6c719a4b s3-spoolss: use macros for _spoolss_EnumPrintProcDataTypes.
Guenther
2009-03-13 09:25:19 +01:00
Günther Deschner
c6e9dc11e5 s3-spoolss: use macros for _spoolss_EnumPorts.
Guenther
2009-03-13 09:25:19 +01:00
Günther Deschner
facf66b40c s3-spoolss: use macros for _spoolss_EnumPrintProcessors.
Guenther
2009-03-13 09:25:19 +01:00
Günther Deschner
84b38c8598 s3-spoolss: add macros from s4 spoolss server.
Guenther
2009-03-13 09:25:19 +01:00
Günther Deschner
4b57f6dd34 s3-spoolss: make jobname a const char * in print_job_start().
Guenther
2009-03-12 14:47:31 +01:00
Günther Deschner
2561b2d2e2 s3-spoolss: use pidl for _spoolss_EnumMonitors.
Guenther
2009-03-07 00:55:38 +01:00
Günther Deschner
03f1bec6ce s3-spoolss: use pidl for _spoolss_EnumPorts.
Guenther
2009-03-07 00:55:36 +01:00
Günther Deschner
3cf22a8856 s3-spoolss: use pidl for _spoolss_EnumPrintProcDataTypes.
Guenther
2009-03-07 00:49:51 +01:00
Günther Deschner
f48ccec957 s3-spoolss: use pidl for _spoolss_EnumPrintProcessors.
Guenther
2009-03-07 00:42:58 +01:00
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