1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
Commit Graph

150 Commits

Author SHA1 Message Date
Günther Deschner
a2aa7d6d65 s3-spoolss: Make spoolss client os_major,os_minor and os_build configurable.
Similar to spoolss server options, make the client advertised OS version
values configurable to allow overriding the defaults provided to the print server.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13597

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
2018-09-08 01:43:27 +02:00
Günther Deschner
23f404b7f5 spoolss: rename spoolss_EnumPrintProcDataTypes to spoolss_EnumPrintProcessorDataTypes
This change makes automatic mapping for PAR->RPRN opcodes easier.

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2016-09-22 12:29:26 +02:00
Andrew Bartlett
f8643b9f5f librpc: Remove user/domain from struct pipe_auth_data
This does require that we always fill in the gensec pointer, but the
simplification is worth the extra allocations.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2014-09-27 01:35:36 +02:00
Günther Deschner
a4dcf7b94d spoolss: Make OpenPrinterEx work with NDR64 by using UserInfo Container.
Guenther

Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
2013-01-16 11:42:13 +01:00
Andrew Bartlett
74eed8f3ed s3-param Remove special case for global_myname(), rename to lp_netbios_name()
There is no reason this can't be a normal constant string in the
loadparm system, now that we have lp_set_cmdline() to handle overrides
correctly.

Andrew Bartlett
2011-06-09 12:40:09 +02:00
Günther Deschner
0bb4701a74 s3: remove various references to server side dcerpc structs (which are not needed).
Guenther
2011-05-02 15:03:44 +02:00
Günther Deschner
9824e2e5ee s3-rpc_client: add and use rpc_client/rpc_client.h.
Guenther
2011-04-13 22:23:59 +02:00
Günther Deschner
6e3f0d28a4 s3-includes: only include ntdomain.h where needed.
Guenther
2011-03-30 01:13:09 +02:00
Günther Deschner
e94ffc790e s3-rpc_client: prefer dcerpc_spoolss_X functions.
Guenther
2011-01-21 15:20:22 +01:00
Günther Deschner
cc06133b0a s3-rpc_client: move protos to cli_spoolss.h
Guenther
2010-05-18 21:42:45 +02:00
Günther Deschner
7643afa70e s3-rpcclient: fix rpcclient after spoolss_GetPrinterData{Ex} IDL change.
Guenther
2010-03-05 15:18:00 +01:00
Günther Deschner
f20effc437 s3-spoolss: fix enumprinter key client and server.
Guenther
2009-12-10 17:48:50 +01:00
Günther Deschner
5f60855ba2 samba-spoolss: use spoolss_StringArray2 in spoolss_EnumPrinterKey.
This should finally resolve the endian issues we were seeing on sparc and is
much cleaner for spoolss clients and servers.

Guenther
2009-12-02 14:56:17 +01:00
Günther Deschner
3d679a3b5f s3-rpc: Avoid including every pipe's client and server stubs everywhere in samba.
Guenther
2009-11-26 20:03:17 +01:00
Günther Deschner
846aa18648 s3-spoolss: fixes for _spoolss_EnumPrinterKey client and server.
Thanks Metze for review!

Guenther
2009-11-24 15:49:35 +01:00
Günther Deschner
d464151f3b s3-spoolss: fix spoolss_EnumPrinterKey client and server code.
Guenther
2009-11-23 11:44:43 +01:00
Günther Deschner
1225d57abe s3-spoolss: add rpccli_spoolss_getprinterdriver convenience wrapper.
Guenther
2009-07-03 22:05:46 +02:00
Günther Deschner
9d024d1715 s3-spoolss: remove old rpccli_spoolss_enumprinterdataex.
Guenther
2009-03-18 01:30:41 +01:00
Günther Deschner
ab85fc78bd s3-spoolss: add rpccli_spoolss_enumprinterdataex convenience wrapper.
Guenther
2009-03-18 01:30:18 +01:00
Günther Deschner
846b93f54f s3-spoolss: remove old rpccli_spoolss_enumprinterkey wrapper.
Guenther
2009-03-17 12:18:50 +01:00
Günther Deschner
86c25b3533 s3-spoolss: add rpccli_spoolss_enumprinterkey convenience wrapper.
Guenther
2009-03-17 12:18:28 +01:00
Günther Deschner
57077f43a7 s3-spoolss: remove rpccli_spoolss_enumprinterdata.
Guenther
2009-03-17 12:07:50 +01:00
Günther Deschner
4234969df7 s3-spoolss: remove old rpccli_spoolss_setprinterdata wrapper.
Guenther
2009-03-17 11:57:17 +01:00
Günther Deschner
d77cc43784 s3-spoolss: remove old rpccli_spoolss_getprinterdata.
Guenther
2009-03-17 11:49:23 +01:00
Günther Deschner
08d170abc1 s3-spoolss: add rpccli_spoolss_getprinterdata convenience wrapper.
Guenther
2009-03-17 11:49:08 +01:00
Günther Deschner
16438e3a93 s3-spoolss: remove old enumprinters wrapper.
Guenther
2009-03-13 09:25:24 +01:00
Günther Deschner
9397ae5114 s3-spoolss: add rpccli_spoolss_enumprinters convenience wrapper.
Guenther
2009-03-13 09:25:23 +01:00
Günther Deschner
6928c5ce47 s3-spoolss: remove old rpccli_spoolss_enumprinterdrivers wrapper.
Guenther
2009-03-13 09:25:22 +01:00
Günther Deschner
5f46554228 s3-spoolss: add rpccli_spoolss_enumprinterdrivers convenience wrapper.
Guenther
2009-03-13 09:25:22 +01:00
Günther Deschner
3bd1aabcfe s3-spoolss: remove old rpccli_spoolss_enumjobs wrapper.
Guenther
2009-03-13 09:25:21 +01:00
Günther Deschner
80284124ba s3-spoolss: add rpccli_spoolss_enumjobs convenience wrapper.
Guenther
2009-03-13 09:25:20 +01:00
Günther Deschner
33a441b0c2 s3-spoolss: add rpccli_spoolss_enummonitors convenience wrapper.
Guenther
2009-03-07 00:55:39 +01:00
Günther Deschner
c7e19c2627 s3-spoolss: add rpccli_spoolss_enumports convenience wrapper.
Guenther
2009-03-07 00:55:37 +01:00
Günther Deschner
631f277d1c s3-spoolss: remove old spoolss_EnumPorts.
Guenther
2009-03-07 00:55:36 +01:00
Günther Deschner
2d24d3a380 s3-spoolss: add rpccli_spoolss_enumprintprocessordatatypes convenience wrapper.
Guenther
2009-03-07 00:55:00 +01:00
Günther Deschner
b73411d650 s3-spoolss: add rpccli_spoolss_enumprintprocessors convenience wrapper.
Guenther
2009-03-07 00:43:13 +01:00
Günther Deschner
9bdca59fc5 s3-spoolss: remove old rpccli_spoolss_enumforms.
Guenther
2009-03-06 14:30:26 +01:00
Günther Deschner
c14a589a46 s3-spoolss: add convencience wrapper around rpccli_spoolss_EnumForms.
Guenther
2009-03-06 14:30:02 +01:00
Günther Deschner
f343ed7319 s3-spoolss: remove old rpccli_spoolss_getjob.
Guenther
2009-02-26 22:02:19 +01:00
Günther Deschner
0445c554d1 s3-spoolss: add rpccli_spoolss_getjob convenience wrapper.
Guenther
2009-02-26 22:02:18 +01:00
Günther Deschner
b6457c78d6 s3-spoolss: remove unused decode_printer_info_7.
Guenther
2009-02-25 15:10:46 +01:00
Günther Deschner
59e90d3715 s3-spoolss: remove rpccli_spoolss_getprinter.
Guenther
2009-02-25 11:16:30 +01:00
Günther Deschner
c03f207276 s3-spoolss: remove rpccli_spoolss_setprinter.
Guenther
2009-02-25 11:16:29 +01:00
Günther Deschner
c7ba20b465 s3-spoolss: remove rpccli_spoolss_addprinterex.
Guenther
2009-02-25 11:16:29 +01:00
Günther Deschner
6366084c4a s3-spoolss: add rpccli_spoolss_getprinter convenience wrapper.
Guenther
2009-02-25 11:16:28 +01:00
Günther Deschner
9d165fa5c6 s3-spoolss: add rpccli_spoolss_addprinterex convenience wrapper.
Guenther
2009-02-25 10:32:09 +01:00
Günther Deschner
b2e038ef8b s3-spoolss: remove rpccli_spoolss_addprinterdriver.
Guenther
2009-02-24 23:57:52 +01:00
Günther Deschner
5ffa03dcd8 s3-spoolss: remove old rpccli_spoolss_getprinterdriver wrapper.
Guenther
2009-02-24 22:40:51 +01:00
Günther Deschner
e4e1b1a0bb s3-spoolss: add rpccli_spoolss_getprinterdriver2 convenience wrapper.
Guenther
2009-02-24 22:40:51 +01:00
Günther Deschner
2ad2b6f723 s3-spoolss: fix client name in rpccli_spoolss_openprinter_ex.
Guenther
2009-02-21 21:14:37 +01:00