Andreas Schneider
1db7356fa1
s3-net: Use talloc_asprintf and return if file is in wrong format.
...
Found by clang-analyzer.
2010-06-29 11:12:12 +02:00
Andreas Schneider
0c579bc3e6
s3-net: Make sure that the data blob is initialized.
...
Found by clang-analyzer.
2010-06-28 12:56:13 +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
112eddf107
s3:net_rpc_printer: use regval_blob/ctr accessor functions
2010-05-25 10:35:30 +02:00
Michael Adam
c4de07a259
s3:net rpc printer: fix use of a possibly uninitialized variable
2010-05-25 10:35:30 +02:00
Andrew Bartlett
cba7f8b827
s3:dom_sid Global replace of DOM_SID with struct dom_sid
...
This matches the structure that new code is being written to,
and removes one more of the old-style named structures, and
the need to know that is is just an alias for struct dom_sid.
Andrew Bartlett
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-21 10:39:59 +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
63b111bd32
s3: add iconv_convenience handle to pull/push sz helpers.
...
Guenther
2010-04-09 18:33:45 +02:00
Günther Deschner
a99ac4f236
s3-net: fix net after spoolss_EnumPrinterDataEx IDL change.
...
Guenther
2010-03-05 15:18:01 +01:00
Günther Deschner
37ca9288d2
s3-net: fix net after spoolss_SetPrinterData{Ex} IDL change.
...
Guenther
2010-03-05 15:17:59 +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
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
2c11b73391
s3-registry: use push_reg_sz().
...
Guenther
2009-09-30 00:29:49 +02:00
Kai Blin
0ef723a682
s3 net: i18n support for net rpc printer
2009-08-10 19:40:43 +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
606edf0f35
Make cli_setatr async.
...
Jeremy.
2009-05-06 16:13:42 -07:00
Jeremy Allison
512879a69b
Make cli_setattrE async.
...
Jeremy.
2009-05-06 15:07:05 -07:00
Jeremy Allison
e091fdc565
Make cli_getattrE async.
...
Jeremy.
2009-05-05 16:28:44 -07:00
Volker Lendecke
38cb53cdeb
Fix a bunch of type-punned warnings -- gd, please fix properly :-)
2009-05-03 22:48:30 +02:00
Jeremy Allison
f3af298e5b
Cause cli_close to return an NTSTATUS.
...
Jeremy.
2009-04-30 16:57:42 -07:00
Jeremy Allison
8cf78ff553
Get medieval on our ass about SMB1 file descriptors being 16 bits, not an int.
...
Convert all uses of cli_open(), cli_nt_createXXX to NTSTATUS versions.
This is smaller than it looks, it just fixes a lot of old code.
Next up, ensure all cli_XX functions return NTSTATUS.
Jeremy.
2009-04-30 15:26:43 -07:00
Michael Adam
8185d31fb0
s3:registry: replace typedef REGISTRY_VALUE by struct regval_blob
...
Michael
2009-04-27 11:21:03 +02:00
Jeremy Allison
502f47c7c0
Make cli_chkpath async.
...
Jeremy
2009-04-22 06:46:42 -07:00
Jeremy Allison
dfc79de607
Make cli_mkdir async. Change it to return NTSTATUS.
...
Jeremy.
2009-04-21 05:52:34 -07:00
Günther Deschner
fe340eb92f
s3:rpc_parse: remove unused init_unistr().
...
Guenther
2009-03-26 10:42:13 +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
2c186be0df
s3-net: Fix Coverity #886 (FORWARD_NULL).
...
Guenther
2009-03-20 10:41:44 +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
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
f9712d568a
s3-net: use rpccli_spoolss_enumprinterdataex.
...
Guenther
2009-03-18 01:30:34 +01:00
Günther Deschner
e0c50aafce
s3-net: use rpccli_spoolss_enumprinterkey wrapper.
...
Guenther
2009-03-17 12:18:43 +01:00
Günther Deschner
12c6ac6a43
s3-net: fix net_spoolss_setprinterdataex.
...
Guenther
2009-03-17 12:14:47 +01:00
Günther Deschner
acf523ad7e
s3-net: fix net_spoolss_setprinterdata.
...
Guenther
2009-03-17 12:10:43 +01:00
Günther Deschner
2a8c078357
s3-net: use rpccli_spoolss_EnumPrinterData.
...
Guenther
2009-03-17 12:08:29 +01:00
Günther Deschner
4ea46d69bb
s3-net: temporary disable net_spoolss_setprinterdata.
...
Guenther
2009-03-17 12:01:29 +01:00
Günther Deschner
f14d4267c9
s3-net: use rpccli_spoolss_enumprinters wrapper.
...
Guenther
2009-03-13 09:25:23 +01:00
Günther Deschner
058f47d08d
s3-spoolss: remove old leftover driver print functions.
...
Guenther
2009-03-13 09:25:23 +01:00
Günther Deschner
7876d28d9a
s3-net: use rpccli_spoolss_enumprinterdrivers wrapper.
...
Guenther
2009-03-13 09:25:22 +01:00
Günther Deschner
4541aa5f84
s3-spoolss: use form flags from idl in rpcclient and net.
...
Guenther
2009-03-06 14:32:46 +01:00
Günther Deschner
01e4f63c5e
s3-net: use new rpccli_spoolss_enumforms wrapper.
...
Guenther
2009-03-06 14:30:17 +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
a041d90619
s3-spoolss: use is_valid_policy_hnd to check for valid policy handles.
...
Guenther
2009-02-25 12:22:31 +01:00
Günther Deschner
109ba07b0e
s3-spoolss: use rpccli_spoolss_addprinterex wrapper.
...
Guenther
2009-02-25 11:16:29 +01:00