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
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
Volker Lendecke
aef303f83c
s3: Add rpcclient wkssvc_enumerateusers
2009-12-06 13:07:04 +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
3732798008
s3-rpcclient: use the parsed binding string flags for auth choice.
...
This allows rpcclient to be called like this:
rpcclient ncacn_ip_tcp:w2k8r2[sign,seal] -U administrator%secret -c "dscracknames gd"
Guenther
2009-11-13 01:13:06 +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
Volker Lendecke
2aa0af9867
s3: get_pipe_name_from_iface -> get_pipe_name_from_syntax
2009-11-07 09:14:15 +01:00
Günther Deschner
2f3a40844d
s3-rpcclient: add deletetrustdom command.
...
Guenther
2009-10-30 12:28:48 +01:00
Günther Deschner
fbdda19549
s3-rpcclient: add createtrustdom command.
...
Guenther
2009-10-30 12:28:48 +01:00
Günther Deschner
ebe0e64ba9
s3: use enum netr_SchannelType all over the place.
...
Guenther
2009-10-13 10:21:46 +02:00
Matthias Dieter Wallnöfer
607ceff234
s3/s4 - Adapt the IDL changes on various locations
2009-10-08 09:50:19 +02: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
42e393af28
s3-rpcclient: fix netr_LogonGetCapabilities command.
...
Guenther
2009-09-16 17:59:38 +02:00
Günther Deschner
6dab835fbb
s3-rpcclient: Fix Coverity #935 : UNINIT.
...
Guenther
2009-09-16 10:29:35 +02:00
Günther Deschner
d3af0346c8
s3-dcerpc: use dcerpc_AuthLevel and remove duplicate set of flags.
...
Guenther
2009-09-15 17:49:34 +02:00
Günther Deschner
cbac8e4fa0
s3-rpcclient: add lookupsids3 command.
...
Guenther
2009-09-11 13:59:56 +02:00
Günther Deschner
4e98f93775
s3-rpcclient: make netlogon credential setup also work for interdomain trusts.
...
Guenther
2009-09-11 09:59:05 +02:00
Günther Deschner
12c7025156
s3-rpcclient: avoid using lp_workgroup() unconditionally for crypto.
...
Guenther
2009-09-11 09:59:05 +02:00
Günther Deschner
bea8e5fa60
s3-rpc_client: add dcerpc_transport_t to cli_rpc_pipe_open_schannel().
...
Guenther
2009-09-11 09:59:04 +02:00
Günther Deschner
032e01e7c1
s3-rpc_client: add dcerpc_transport_t to cli_rpc_pipe_open_spnego_ntlmssp and cli_rpc_pipe_open_ntlmssp.
...
Guenther
2009-09-11 09:59:04 +02:00
Günther Deschner
12acf6ca72
s3-rpcclient: use cli_rpc_pipe_open_noauth_transport in rpcclient.
...
Guenther
2009-09-11 09:59:04 +02:00
Günther Deschner
8bd730f5ad
s3-rpcclient: add lookupnames4 command.
...
Guenther
2009-09-11 00:26:24 +02:00
Günther Deschner
c17789fa1c
s3-rpcclient: add ncacn transport handling for rpcclient.
...
Guenther
2009-09-11 00:26:24 +02:00
Günther Deschner
ffbcf3b491
s3-rpcclient: add createprinteric command.
...
Guenther
2009-07-17 15:40:18 +02:00
Günther Deschner
7e9f8f0f95
s3-rpcclient: add LSA storeprivatedata command.
...
Guenther
2009-07-17 13:50:34 +02:00
Günther Deschner
27c39a2804
s3-rpcclient: add LSA retrieveprivatedata command.
...
Guenther
2009-07-17 13:50:34 +02:00
Günther Deschner
7194fc6a69
s3-rpcclient: add LSA setsecret command.
...
Guenther
2009-07-17 13:50:33 +02:00
Günther Deschner
1a862349e1
s3-rpcclient: add LSA querysecret command.
...
Guenther
2009-07-17 13:50:33 +02:00
Günther Deschner
f848f4f4d3
s3-rpcclient: add LSA deletesecret command.
...
Guenther
2009-07-17 13:50:33 +02:00
Günther Deschner
dee787cb77
s3-rpcclient: add LSA createsecret command.
...
Guenther
2009-07-17 13:50:33 +02:00
Günther Deschner
2c84de40b3
s3-rpcclient: allow to set query size for samr enum calls.
...
Guenther
2009-06-08 19:47:26 +02:00
Günther Deschner
86d087fccc
s3-rpcclient: use get_domain_handle() fn in enum domain users & groups.
...
Guenther
2009-05-25 13:52:50 +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
38264bb3b8
s3-secdesc: move all winreg access bits to IDL.
...
Guenther
2009-04-21 12:42:51 +02:00
Günther Deschner
b5bec1a6d7
s3-secdesc: use SEC_FLAG_MAXIMUM_ALLOWED instead of SEC_RIGHTS_MAXIMUM_ALLOWED.
...
Guenther
2009-04-21 12:40:47 +02:00
Andrew Bartlett
baf7274fed
Make Samba3 use the new common libcli/auth code
...
This is particuarly in the netlogon client (but not server at this
stage)
2009-04-14 16:23:44 +10:00
Andrew Bartlett
f28f113d8e
Rework Samba3 to use new libcli/auth code (partial)
...
This commit is mostly to cope with the removal of SamOemHash (replaced
by arcfour_crypt()) and other collisions (such as changed function
arguments compared to Samba3).
We still provide creds_hash3 until Samba3 uses the credentials code in
netlogon server
Andrew Bartlett
2009-04-14 16:23:35 +10:00
Günther Deschner
fc056e561b
s3-rpcclient: add set_job command.
...
Guenther
2009-04-13 23:45:52 +02:00
Günther Deschner
ade9ef1983
s3-rpcclient: allow to set flags in cmd_ntsvcs_get_dev_list().
...
Guenther
2009-04-10 01:06:56 +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
Jeremy Allison
8dd1faaa29
Remove the global "struct cm_cred_struct" and associated calls, make
...
callers pass in a struct user_auth_info * instead. This commit causes
smbc_set_credentials() to print out a message telling callers to use
smbc_set_credentials_with_fallback() instead, as smbc_set_credentials()
has a broken API (no SMBCCTX * pointer). No more global variables used
in the connection manager API for client dfs calls.
Jeremy.
2009-03-17 14:53:06 -07: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
Günther Deschner
0658a402d7
s3-rpcclient: pure cosmetics for cmd_spoolss_enum_ports.
...
Guenther
2009-03-13 09:25:25 +01:00
Günther Deschner
0e66a244d3
s3-rpcclient: 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
915c593926
s3-rpcclient: use rpccli_spoolss_enumprinterdrivers wrapper.
...
Guenther
2009-03-13 09:25:22 +01:00
Günther Deschner
d279e76cd2
s3-rpcclient: use rpccli_spoolss_enumjobs wrapper in enumjobs command.
...
Guenther
2009-03-13 09:25:20 +01:00
Günther Deschner
d75d350287
s3-rpcclient: add enummonitors command to enumerate print monitors.
...
Guenther
2009-03-07 00:55:39 +01:00
Günther Deschner
e9179a6850
s3-rpcclient: use rpccli_spoolss_enumports wrapper.
...
Guenther
2009-03-07 00:55:37 +01:00
Günther Deschner
62d73b8854
s3-rpcclient: add enumprocdatatypes command to enumerate print processor data
...
types.
Guenther
2009-03-07 00:55:15 +01:00
Günther Deschner
a58e59fc6e
s3-rpcclient: add enumprocs command to enumerate print processors.
...
Guenther
2009-03-07 00:49:47 +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
6336366abb
s3-rpcclient: use new rpccli_spoolss_enumforms wrapper.
...
Guenther
2009-03-06 14:30:10 +01:00
Günther Deschner
8b336211c3
s3-rpcclient: zero out devmode and secdesc in setdriver and setprinter command.
...
Guenther
2009-03-02 14:25:01 +01:00
Günther Deschner
b7b287d417
s3-rpcclient: add getjob spoolss command.
...
Guenther
2009-02-26 22:02:19 +01:00
Günther Deschner
a263d8f430
s3-rpcclient: use is_valid_policy_hnd before closing handles.
...
Guenther
2009-02-26 22:02:19 +01:00
Günther Deschner
a4e570e3ce
s3-rpcclient: add test command to call netr_LogonGetCapabilities (for bug #6100 ).
...
Guenther
2009-02-25 22:17:39 +01:00
Günther Deschner
d86cb9b52d
s3-rpcclient: support level 2 in spoolss_addform.
...
Guenther
2009-02-25 21:18:10 +01:00
Günther Deschner
01d1aaf63e
s3-rpcclient: allow to set level in spoolss getform query and display all levels.
...
Guenther
2009-02-25 14:21:11 +01:00
Günther Deschner
2390ea274b
s3-rpcclient: more uses of is_valid_policy_hnd in spoolss and samr commands.
...
Guenther
2009-02-25 14:19:24 +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
Günther Deschner
1a77218dca
s3-rpcclient: use rpccli_spoolss_SetPrinter and rpccli_spoolss_getprinter.
...
Guenther
2009-02-25 11:16:29 +01:00
Günther Deschner
3777978eb4
s3-rpcclient: use rpccli_spoolss_AddPrinterDriver.
...
Guenther
2009-02-24 23:57:51 +01:00
Günther Deschner
e4c1841d1a
s3-rpcclient: use rpccli_spoolss_getprinterdriver2 wrapper.
...
Guenther
2009-02-24 22:40:51 +01:00