Simo Sorce
43d0ef1175
rpcclient: support starting sign/seal with krb5/spnego
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-30 14:26:02 +02:00
Günther Deschner
e978a3d3f4
s3-lsa: separate out init_lsa headers.
...
Guenther
2010-08-25 22:50:39 +02:00
Stefan Metzmacher
d6eb42cc61
s3:rpcclient: we also need some ndr_pull functions
...
metze
2010-08-08 11:05:18 +02:00
Andreas Schneider
ce2a086119
s3-popt: Only include popt-common.h when needed.
2010-08-05 12:08:31 +02:00
Günther Deschner
c136b84f0d
s3-secrets: only include secrets.h when needed.
...
Guenther
2010-08-05 10:12:25 +02:00
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
Simo Sorce
0b24e8e869
s3-dcerpc: Add SPNEGO incapsulation for KRB5 auth
2010-07-30 14:55:27 -04:00
Simo Sorce
e286b9c0bd
rpcclient: Use DCERPC_AUTH_LEVEL_CONNECT if no sign/seal is set for ntlmssp
2010-07-30 14:55:27 -04:00
Simo Sorce
72088096af
rpcclient: Use DCERPC_AUTH_LEVEL_CONNECT if no sign/seal is set for krb5 auth
2010-07-28 12:23:39 -04:00
Simo Sorce
146af48d48
s3-dcerpc: revive cli_rpc_pipe_open_krb5()
2010-07-28 12:21:29 -04:00
Simo Sorce
b00f9a0a2d
s3-rpcclient: Allow choosing spnego mech: (ntlm/krb5)
2010-07-28 12:20:01 -04:00
Simo Sorce
2463a87177
s3-dcerpc: Use dcerpc_AuthType in pipe_auth_data
2010-07-28 12:19:32 -04:00
Günther Deschner
b595469bf7
s3-rpcclient: add another usage display to sign and seal commands.
...
Guenther
2010-07-08 11:46:48 +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
Günther Deschner
a75436e3ee
s3-security: use shared SECINFO_DACL define.
...
Guenther
2010-06-03 11:00:12 +02:00
Matthias Dieter Wallnöfer
11e2608ba9
s3/s4:netrEnumerateTrustedDomains - this call returns a "NTSTATUS" result
...
See MS-NRPC 3.5.5.6.3.
2010-05-31 12:08:59 +02:00
Günther Deschner
66adb84e46
s3-build: only use ndr_samr.h where needed.
...
Guenther
2010-05-28 02:49:36 +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
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
8478770c35
s3-rpc_client: move protos to init_samr.h
...
Guenther
2010-05-18 21:42:57 +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
230b880d14
s3-rpc_client: move protos to cli_lsarpc.h
...
Guenther
2010-05-18 21:42:41 +02:00
Günther Deschner
5ed3654112
s3-rpc_client: move protos to cli_netlogon.h
...
Guenther
2010-05-18 21:42:37 +02:00
Günther Deschner
3f2719c202
s3-rpc_client: move protos to cli_samr.h
...
Guenther
2010-05-18 21:42:32 +02:00
Günther Deschner
7f6bb48bdf
s3-secdesc: remove "typedef struct security_descriptor SEC_DESC".
...
Guenther
2010-05-18 12:30:12 +02:00
Günther Deschner
8bc9c343c4
s3-secdesc: remove "typedef struct sec_desc_buf SEC_DESC_BUF".
...
Guenther
2010-05-18 12:30:11 +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
c6ebab846d
s3: only include gen_ndr headers where needed.
...
This shrinks include/includes.h.gch by the size of 7 MB and reduces build time
as follows:
ccache build w/o patch
real 4m21.529s
ccache build with patch
real 3m6.402s
pch build w/o patch
real 4m26.318s
pch build with patch
real 3m6.932s
Guenther
2010-05-06 00:22:59 +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
Günther Deschner
95b9c48ef1
s3-rpcclient: allow to define server_unc in cmd_srvsvc_srv_query_info().
...
Guenther
2010-04-07 14:41:13 +02:00
Kamen Mazdrashki
88494b2b62
s3/drs: DsCrackNames - Propagating IDL changes to source code
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-10 17:12:03 +01:00
Kamen Mazdrashki
feb4c8a3e3
s3/drs: DsGetNCChanges - Propagating IDL changes to source code
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-10 17:11:57 +01: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
d5e30dec8b
s3-rpcclient: fix uninitialized variable in wkssvc_enumerateusers.
...
Guenther
2010-02-18 01:47:57 +01:00
Volker Lendecke
b8996baba6
s3: Enable -C in rpcclient
2010-01-24 20:32:17 +01:00
Volker Lendecke
2002b4e4c2
s3: Remove a call to string_sid_talloc
2010-01-23 14:35:37 +01:00
Volker Lendecke
c2c71b8e05
s3: Fix sending NULL sids to lookupsids3
2010-01-23 14:35:37 +01:00
Volker Lendecke
9fcbe3a65c
s3: Remove some pointless uses of string_sid_talloc
2010-01-23 14:35:37 +01:00
Volker Lendecke
8905b599b4
s3: Fix some nonempty blank lines
2010-01-23 14:35:37 +01:00
Andrew Tridgell
f461a72ec3
idl: switched to using the WSPP names for the 'neighbour' DRS options
...
The documentation shows that all these functions in fact use the same
flags variable type. To be consistent between functions, and to allow
easy reference to the WSPP docs, it is better for us to also use this
generic DrsOptions bitfield rather than one per operations.
2010-01-18 07:25:18 +11:00