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

1171 Commits

Author SHA1 Message Date
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
Günther Deschner
dc0bf17ac1 s3-rpcclient: use correct clientname in spoolss_RemoteFindFirstPrinterChangeNotifyEx command.
Guenther
2009-02-23 12:48:19 +01:00
Günther Deschner
762b92e285 s3-eventlog: fix rpcclient and server stub for eventlog_GetLogInformation.
Guenther
2009-02-21 21:14:11 +01:00
Günther Deschner
8c569b59f0 s3-rpcclient: use rpccli_spoolss_GetPrintProcessorDirectory in rpcclient.
Guenther
2009-02-19 19:21:48 +01:00
Günther Deschner
ebb3b30700 s3-rpcclient: use SPOOLSS_ARCHITECTURE_NT_X86 define in spoolss getdriverdir cmd.
Guenther
2009-02-19 19:20:07 +01:00
Günther Deschner
aaec578c51 s3-rpcclient: use rpccli_spoolss_GetPrinterDriverDirectory in rpcclient.
Guenther
2009-02-19 02:06:12 +01:00
Günther Deschner
046cb24d0a s3-rpcclient: use rpccli_spoolss_RemoteFindFirstPrinterChangeNotifyEx.
Guenther
2009-02-17 03:51:50 +01:00
Günther Deschner
cba40f6521 s3-rpcclient: use rpccli_spoolss_AddPrinterEx.
Guenther
2009-02-14 01:42:00 +01:00
Günther Deschner
30e18aadc3 s3-rpcclient: use rpccli_spoolss_GetPrinterDataEx.
Guenther
2009-02-12 22:51:29 +01:00
Volker Lendecke
0b6f21841e Only assign argv[1] after the argc check, thanks Tim! 2009-02-11 09:35:15 +01:00
Volker Lendecke
df42719ca3 Fix an uninitialized variable 2009-02-11 08:42:50 +01:00
Günther Deschner
473c558937 s3-rpcclient: use one macro for all printername formats.
Guenther
2009-02-10 23:59:24 +01:00
Günther Deschner
9d05e91ec0 s3-rpcclient: use rpccli_spoolss_openprinter_ex helper.
Guenther
2009-02-10 11:05:02 +01:00
Günther Deschner
84a0076c4b s3-rpcclient: remove a pointless fstring.
Guenther
2009-02-09 19:07:34 +01:00
Günther Deschner
438af255c6 s3-rpcclient: use srv_name_slash instead of formating servername again and again.
Guenther
2009-02-09 19:07:34 +01:00
Günther Deschner
dfa559145c s3-spoolss: remove whitespace in printing code.
Guenther
2009-02-09 12:42:42 +01:00
Günther Deschner
cae89f5250 s3-rpcclient: use rpccli_spoolss_DeletePrinterDriverEx.
Guenther
2009-02-09 12:34:03 +01:00
Günther Deschner
2a74f8bdbb s3-rpcclient: use rpccli_spoolss_DeletePrinterDriver.
Guenther
2009-02-09 12:34:03 +01:00
Günther Deschner
373a4d829d s3-rpcclient: use rpccli_spoolss_GetForm.
Guenther
2009-02-09 10:42:54 +01:00
Günther Deschner
c7d572a76f s3-rpcclient: use rpccli_spoolss_SetForm.
Guenther
2009-02-09 10:42:26 +01:00
Günther Deschner
5234f5e433 s3-spoolss: use rpccli_spoolss_AddForm in net and rpcclient.
Guenther
2009-02-09 10:42:04 +01:00
Günther Deschner
45f142fe29 s3-rpcclient: fix getform command asprintf return code.
Guenther
2009-02-09 10:38:30 +01:00
Günther Deschner
b8cd20cd5c s3-spoolss: use rpccli_spoolss_DeleteForm.
Guenther
2009-02-07 01:52:28 +01:00
Günther Deschner
0bd5698dab s3-spoolss: use rpccli_spoolss_ClosePrinter.
Guenther
2009-02-06 18:58:34 +01:00
Günther Deschner
c464b5ebc0 s3-rpcclient: fix eventlog read client to read an array of entries.
Guenther
2009-02-04 22:49:51 +01:00
Volker Lendecke
57de60a83f cli_get_pipe_name_from_interface does not really need a talloc_ctx 2009-02-01 14:34:22 +01:00
Günther Deschner
2eb5dacbb8 s3-rpcclient: add eventlog_loginfo command.
Guenther
2009-01-24 03:33:47 +01:00
Günther Deschner
ecad0b9335 s3-rpcclient: add eventlog_backuplog command.
Guenther
2009-01-24 03:33:44 +01:00
Günther Deschner
c92ec31d30 s3-rpcclient: add eventlog_registerevsource command.
Guenther
2009-01-24 03:33:43 +01:00
Günther Deschner
bfc2d3bf0a s3-rpcclient: add eventlog_reporteventsource command.
Guenther
2009-01-24 03:33:25 +01:00
Günther Deschner
f1067c0ffc s3-rpcclient: add eventlog_reportevent command.
Guenther
2009-01-24 03:33:23 +01:00
Volker Lendecke
3b34486f6a Actually complete 3662c2b... 2009-01-22 12:13:55 +01:00
Günther Deschner
a950242143 s3-rpcclient: always parse the full eventlog entry.
Guenther
2009-01-14 10:18:14 +01:00
Günther Deschner
4561721cc3 s3-rpcclient: some cleanup for eventlog client.
Guenther
2009-01-12 18:04:03 +01:00
Volker Lendecke
ad6e9c6012 start rpcclient epmapper 2009-01-09 23:08:16 +01:00
Günther Deschner
8cddcefb13 s3-rpcclient: add eventlog test client.
Guenther
2009-01-08 19:37:29 +01:00
Günther Deschner
46f55ef5bc s3-samr: avoid all init_samr_user* functions.
Guenther
2009-01-06 16:02:10 +01:00
Jeremy Allison
07e0094365 Fix all warnings in source3 with gcc4.3.
Jeremy.
2008-12-31 18:06:57 -08:00
Volker Lendecke
daeb3a190d Remove the global "cmdline_auth_info" from source3/lib/util.c
This involves changing all our clients, that's why it's so large.
2008-12-14 14:00:43 +01:00
Günther Deschner
8be38511a3 s3-rpcclient: add setuserinfo to set passwords using level 18,21,23,24,25,26.
Guenther
2008-12-05 14:27:03 +01:00
Günther Deschner
e97149087a s3-samr: fix rpcclient after idl change.
Guenther
2008-12-05 14:27:03 +01:00
Günther Deschner
e9269e57fc s3-rpcclient: add get_domain_handle for samr commands.
Guenther
2008-12-05 14:27:02 +01:00
Tim Prouty
1eb743ab8e s3: Change sockaddr util function names for consistency
Also eliminates name conflicts with OneFS system libraries
2008-12-03 10:40:20 -08:00
Günther Deschner
798c4b3e6a s3-samr: use samr_DomainServerState in client tools.
Guenther
2008-12-02 00:37:39 +01:00
Günther Deschner
9b40d26e30 s3-rpcclient: fix cmd_ntsvcs_get_dev_reg_prop.
Guenther
2008-11-19 23:25:16 +01:00
Günther Deschner
2fbdf22541 s3-rpcclient: fill in unknowns in cmd_ntsvcs_get_hw_prof_info.
Guenther
2008-11-17 13:13:30 +01:00
Günther Deschner
0bb8665731 s3-rpcclient: correct some former unknonws in cmd_ntsvcs_hw_prof_flags command.
Guenther
2008-11-12 10:19:17 +01:00
Günther Deschner
0241b2cbda s3-rpcclient: some corrections for the PNP_GetDeviceRegProp client.
Guenther
2008-11-12 10:18:46 +01:00
Günther Deschner
17fe93f94b s3-rpcclient: add ntsvcs_getdevlist command.
Guenther
2008-11-12 10:18:26 +01:00
Günther Deschner
365a703d13 s3-rpcclient: add ntsvcs_getdevlistsize command.
Guenther
2008-11-12 10:18:18 +01:00
Günther Deschner
008ac81b31 s3-rpcclient: add database_redo command.
Guenther
2008-11-06 18:51:38 +01:00
Jelmer Vernooij
ddcab787c4 Rename dos_errstr() to win_errstr() for consistency with Samba 4. 2008-11-01 17:19:26 +01:00
Günther Deschner
68aa9bd67f s3-rpcclient: add getdcsitecoverage call.
Guenther
2008-10-27 14:29:04 +01:00
Volker Lendecke
f4e760faf9 Fix bug 5840: Segfault in "rpcclient lsaaddacctrights" 2008-10-22 14:31:40 +02:00
Günther Deschner
b11f3a60fd s3-lsa-server: fix _lsa_GetUserName.
Guenther
2008-10-21 11:39:45 +02:00
Günther Deschner
cefe4c6697 s3-rpcclient: fix cmd_lsa build.
Guenther
2008-10-20 22:09:07 +02:00
Jelmer Vernooij
f3f9446ec1 Rename hex_encode to hex_encode_talloc,for consistency with samba 4 and heimdal. 2008-10-18 16:16:57 +02:00
Günther Deschner
6503ffaa04 s3: fix s3 drsuapi callers.
Guenther
2008-10-17 10:54:01 +02:00
Günther Deschner
f0dcc1fad4 s4-build: fix drsuapi callers.
Guenther
2008-10-16 14:03:10 +02:00
Günther Deschner
65dc1eeceb s3: fix various samr callers.
Guenther
2008-10-15 17:11:27 +02:00
Günther Deschner
3b9a03a7c3 s3: fix samlogon client and server calls.
Guenther
2008-10-15 16:14:20 +02:00
Jelmer Vernooij
1f3e4f39c5 Use GUID_string rather than smb_uuid_string(). 2008-10-14 02:26:18 +02:00
Jelmer Vernooij
cb78d4593b Cope with changed signature of http_timestring(). 2008-10-11 23:57:44 +02:00
Michael Adam
3ed6cfad01 rpcclient: Set the pid filed of the outgoing DsBindInfo to 0.
This is for debugging and informational purposes only.
The assignment is implementation specific.
(WSPP docs, sec. 5.35).

Michael
(This used to be commit 18ea033909)
2008-07-28 14:08:34 +02:00
Michael Adam
2bd58bf383 Change occurrences of the u1 member of DsBindInfo* to pid after idl change.
Michael
(This used to be commit 42f3d681ca)
2008-07-22 16:28:13 +02:00
Michael Adam
2d7660dcc3 rpcclient: make DsGetNCChanges work against w2k8 (add knowledge of DsBindInfo48)
Michael
(This used to be commit 27ce662f5d)
2008-07-22 14:47:11 +02:00
Volker Lendecke
82b5f54f96 Refactoring: rpcclient uses ndr_syntax_id instead of pipe_idx
(This used to be commit 85db87c451)
2008-07-21 14:36:27 +02:00
Volker Lendecke
99526d391d Refactoring: Change calling conventions for cli_rpc_pipe_open_schannel
Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS
(This used to be commit 1fcfca007f)
2008-07-20 17:37:14 +02:00
Volker Lendecke
e0be03d8d5 Refactoring: Change calling conventions for cli_rpc_pipe_open_ntlmssp
Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS
(This used to be commit a13f059955)
2008-07-20 17:37:11 +02:00
Volker Lendecke
1335da2a7c Refactoring: Change calling conventions for cli_rpc_pipe_open_noauth
Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS
(This used to be commit 9abc9dc4dc)
2008-07-20 17:37:11 +02:00