Günther Deschner
813fbbd68c
s3-build: avoid to globally include printing and spoolss headers.
...
This shrinks precompiled headers by 3MB and will slightly speed up any build.
Guenther
2010-07-31 00:50:31 +02:00
Jeremy Allison
f34db12d7f
Add parse_setjob_command() to make setting job state easier for users.
...
Jeremy.
2010-06-23 13:25:15 -07:00
Günther Deschner
b3ebebd3b1
s3-rpcclient: allow to add access_mask in cmd_spoolss_open_printer_ex().
...
Guenther
2010-06-05 00:35:09 +02:00
Günther Deschner
30a9ddccff
s3-spoolss: add and use spoolss_printerinfo2_to_setprinterinfo2().
...
This fixes some invalid typecasts.
Guenther
2010-06-03 16:32:49 +02:00
Michael Adam
0fe1ff99a1
s3:registry: move reg_objects.h to registry/ and use it only where needed
...
Every place outside of registry/ where this is used, should probably
be changed to use pure reg_api.c code.
2010-05-25 10:35:31 +02:00
Michael Adam
7b2f5f20da
s3:rpcclient:spoolss: use regval_ctr/blob accessor functions.
2010-05-25 10:35:30 +02:00
Günther Deschner
5a6f3a0666
s3-rpc_client: move protos to init_spoolss.h
...
Guenther
2010-05-18 21:42:48 +02: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
7f6bb48bdf
s3-secdesc: remove "typedef struct security_descriptor SEC_DESC".
...
Guenther
2010-05-18 12:30:12 +02:00
Jelmer Vernooij
b8268cf7b0
s3: Remove use of iconv_convenience.
2010-05-18 11:45:31 +02:00
Günther Deschner
fe31b67d5e
s3-registry: only include registry headers when really needed.
...
Guenther
2010-05-18 01:15:38 +02:00
Günther Deschner
83736066a3
s3-rpcclient: fix two more invalid typecasts in spoolss commands.
...
Guenther
2010-05-10 14:51:14 +02:00
Günther Deschner
9cc10e6a57
s3-rpcclient: Fix Bug #7277 . rpcclient was sending invalid data, causing cupsaddsmb to fail.
...
Guenther
2010-05-03 16:30:13 +02:00
Günther Deschner
63b111bd32
s3: add iconv_convenience handle to pull/push sz helpers.
...
Guenther
2010-04-09 18:33:45 +02:00
Andreas Schneider
47d366b572
s3-rpcclient: Leave setprinterdata directly if not enough args were passed.
...
If we don't pass enough arguments we don't have to close the connection.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-05 21:27:15 +01:00
Günther Deschner
becbb624eb
s3-rpcclient: fix rpcclient after spoolss_EnumPrinterDataEx IDL change.
...
Guenther
2010-03-05 15:18:01 +01: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
4956650369
s3-rpcclient: fix rpcclient after spoolss_SetPrinterData{Ex} IDL change.
...
Guenther
2010-03-05 15:17:59 +01:00
Günther Deschner
31cf2b086a
s3-spoolss: fix rpcclient after setprinter IDL fixes.
...
Guenther
2009-12-17 10:43:31 +01:00
Günther Deschner
c2618d2c6f
s3-rpcclient: allow to set offered size for enumkey command.
...
Guenther
2009-12-10 22:49:16 +01:00
Günther Deschner
c85ed0054e
s3: fix net and rpcclient after setprinterdataex changes.
...
Guenther
2009-12-07 14:42:13 +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
Volker Lendecke
bb283af16f
Revert "s3: Do not directly reference the ndr_table_* in rpcclient"
...
This reverts commit 70c698fd54
.
2009-11-08 19:43:47 +01:00
Volker Lendecke
70c698fd54
s3: Do not directly reference the ndr_table_* in rpcclient
2009-11-08 00:28:36 +01:00
Günther Deschner
ad836c4d48
s3-registry: use pull_reg_sz() where appropriate.
...
(and move away from rpcstr_pull and rpcstr_pull_talloc).
Guenther
2009-10-01 11:40:30 +02:00
Günther Deschner
b0a66496f5
s3: use pull_reg_multi_sz in rpcclient and net.
...
Guenther
2009-09-30 00:31:42 +02:00
Günther Deschner
ffbcf3b491
s3-rpcclient: add createprinteric command.
...
Guenther
2009-07-17 15:40:18 +02:00
Günther Deschner
652251701d
s3-printing: no need to define struct table_node 4 times.
...
Guenther
2009-05-13 15:27:06 +02:00
Jeremy Allison
b4c9cfb2af
Fix a bunch of compiler warnings about wrong format types.
...
Should make Solaris 10 builds look cleaner.
Jeremy.
2009-05-11 21:56:57 -07:00
Günther Deschner
b8ddb8765c
s3-rpcclient: rework enumdrivers call a bit to allow queries like win7 does.
...
Guenther
2009-05-07 13:35:00 +02:00
Günther Deschner
d77c456757
s3-rpcclient: print more infolevels in printer and driver info levels.
...
Guenther
2009-05-06 10:21:31 +02:00
Michael Adam
8185d31fb0
s3:registry: replace typedef REGISTRY_VALUE by struct regval_blob
...
Michael
2009-04-27 11:21:03 +02:00
Jelmer Vernooij
f4195183a4
s3: Use common security_descriptor_equal().
2009-04-21 18:17:40 +02:00
Günther Deschner
fc056e561b
s3-rpcclient: add set_job command.
...
Guenther
2009-04-13 23:45:52 +02:00
Günther Deschner
c9a388348a
s3-rpcclient: allow to set flags in enumprinters command.
...
Guenther
2009-03-20 17:20:32 +01:00
Günther Deschner
045151b767
s3-spoolss: pure comsetics.
...
sorry, I just need to do that.
Guenther
2009-03-20 10:49:45 +01:00
Günther Deschner
531af136f9
s3: remove POLICY_HND.
...
Guenther
2009-03-18 23:22:29 +01:00
Günther Deschner
9d1ab9a001
spoolss: add my copyright.
...
Guenther
2009-03-18 17:18:46 +01:00
Günther Deschner
31106cdace
s3-spoolss: use printer and job notify enums provided by idl.
...
Guenther
2009-03-18 16:47:01 +01:00
Günther Deschner
8b730ca1d8
s3-rpcclient: fix spoolss notify test after spoolss_Field changes.
...
Guenther
2009-03-18 16:46:42 +01:00
Günther Deschner
9fdeb7f7b3
s3-spoolss: remove custom syntax_spoolss and use the syntax defined in IDL.
...
Guenther
2009-03-18 14:18:42 +01:00
Günther Deschner
8c3ef2d900
s3-rpcclient: use rpccli_spoolss_enumprinterdataex wrapper.
...
Guenther
2009-03-18 01:30:26 +01:00
Günther Deschner
153a837bd6
s3-rpcclient: say that we are displaying a REG_MULTI_SZ in display_reg_value().
...
Guenther
2009-03-17 22:15:20 +01:00
Günther Deschner
bc95ec04e6
s3-rpcclient: use rpccli_spoolss_enumprinterkey wrapper.
...
Guenther
2009-03-17 12:18:37 +01:00
Günther Deschner
96ae179aa3
s3-rpcclient: fix cmd_spoolss_getprinterdataex.
...
Guenther
2009-03-17 12:14:19 +01:00
Günther Deschner
3e16ede0c2
s3-rpcclient: use rpccli_spoolss_EnumPrinterData in enumdata command.
...
Guenther
2009-03-17 12:07:40 +01:00
Günther Deschner
b8a3e5ea0c
s3-rpcclient: use rpccli_spoolss_SetPrinterData.
...
Guenther
2009-03-17 11:57:08 +01:00
Günther Deschner
704220c2a2
s3-rpcclient: use rpccli_spoolss_getprinterdata.
...
Guenther
2009-03-17 11:49:15 +01:00
Günther Deschner
aaae578d0e
s3-rpcclient: pure cosmetics for cmd_spoolss_getdriver.
...
Guenther
2009-03-13 09:25:25 +01:00
Günther Deschner
5d76a12cf5
s3-rpcclient: pure cosmetics for cmd_spoolss_getprinter.
...
Guenther
2009-03-13 09:25:25 +01:00