summaryrefslogtreecommitdiff
path: root/source3/utils/net_rpc_service.c
AgeCommit message (Collapse)AuthorFilesLines
2012-01-18s3-utils/net: pass struct ndr_interface_table downAndrew Bartlett1-8/+8
This will allow the target service (as determined from the IDL) to be passed to GSSAPI (rather than the current, incorrect, "cifs"). Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-04-13s3-rpc_client: add and use rpc_client/rpc_client.h.Günther Deschner1-0/+1
Guenther
2011-01-13s3-net: remove some pointless fstrings in "net rpc service".Günther Deschner1-12/+3
Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
2011-01-13s3-net: restructure "net rpc service" and add open_scm().Günther Deschner1-123/+59
Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
2011-01-13s3-net: restructure "net rpc service" and add open_service().Günther Deschner1-75/+49
Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
2011-01-13s3-svcctl: prefer dcerpc_svcctl_X functions.Günther Deschner1-68/+254
Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
2011-01-12s3-net: fix query_service_state() error handling.Günther Deschner1-1/+1
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Jan 12 15:22:56 CET 2011 on sn-devel-104
2010-08-08s3:utils/net_rpc_service.c: we also need some ndr_pull functionsStefan Metzmacher1-0/+1
metze
2010-05-21s3:dom_sid Global replace of DOM_SID with struct dom_sidAndrew Bartlett1-8/+8
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-18s3: Remove use of iconv_convenience.Jelmer Vernooij1-1/+1
2010-01-19s3 net: Fix compile warningsKai Blin1-25/+41
2010-01-18s3/net: split up some printable stings to ease i18nBjörn Jacke1-25/+25
If we put strings like "Usage:" into separate _() macros and not the whole "Usage:..." string we can cover much more messages by only one single translation. The drawback is that the message in the sources looks less pretty.
2009-11-26s3-rpc: Avoid including every pipe's client and server stubs everywhere in ↵Günther Deschner1-1/+1
samba. Guenther
2009-11-08Revert "s3: Make run_rpc_command take strings instead of a ndr_interface_table"Volker Lendecke1-16/+16
This reverts commit 53f2a1595e76db9fe1b42db65b51895b73365993.
2009-11-08s3: Make run_rpc_command take strings instead of a ndr_interface_tableVolker Lendecke1-16/+16
2009-08-11s3 net: i18n support for net rpc serviceKai Blin1-102/+134
2009-04-08s3-net: Fix Bug #5329: add "net rpc service delete/create".Günther Deschner1-0/+204
Patch from Danny Tylman <danny.tylman@insightix.com>. Guenther
2009-03-18s3: remove POLICY_HND.Günther Deschner1-11/+11
Guenther
2009-01-09s3-net: use rpccli_svcctl_EnumServicesStatusW.Günther Deschner1-19/+68
Guenther
2009-01-08s3-net: fix type in rpc_service_list_internal(). Sorry...Günther Deschner1-1/+1
Guenther
2009-01-08s3-svcctl: use pidl based struct SERVICE_STATUS.Günther Deschner1-3/+3
Guenther
2009-01-08s3-svcctl: remove some more redundant headers.Günther Deschner1-1/+1
Guenther
2008-11-01Rename dos_errstr() to win_errstr() for consistency with Samba 4.Jelmer Vernooij1-16/+16
2008-10-16s3: remove rpccli_svcctl_query_config.Günther Deschner1-19/+30
Guenther
2008-07-21Refactoring: run_rpc_command uses ndr_syntax_id instead of pipe_idxVolker Lendecke1-6/+6
(This used to be commit 850166ec0d17eb85a0c921dc3b966fac0677af4a)
2008-06-10net: Rename functable3 to functable, get rid of old functablesKai Blin1-2/+2
(This used to be commit bb7c5fc4ec77db4073d3beccf12af12910b6bd07)
2008-06-10net: Make "net rpc service" use functable3Kai Blin1-27/+93
(This used to be commit aa06cd5cb2c72cc6c883bbfafe43546accce00a1)
2008-05-10net: Remove globalsKai Blin1-22/+28
(This used to be commit 1e9319cf88b65a2a8d4f5099a1fe5297e405ed2e)
2008-04-20Move srv_name_slash from cli_state to rpc_pipe_clientVolker Lendecke1-6/+6
(This used to be commit a9061e52e1ff8e31aa480f4a30cda64c9d93214e)
2008-03-20Move svc_status_string() out of rpc_client/cli_svcctl.cGünther Deschner1-0/+37
Guenther (This used to be commit 2860ae2eb2cb99b4febb352f516b3fa9fbd2abbb)
2008-03-20No need to compose CLI_SERVER_NAME_SLASH in "net rpc service" anymore.Günther Deschner1-34/+6
Guenther (This used to be commit b5291d477381521cd4b71674616f8c9899007002)
2008-02-19Use rpccli_svcctl_QueryServiceStatus() in net.Günther Deschner1-4/+12
Guenther (This used to be commit 1cc0e9b7e5b8685dc4aff8e379837dd32e386f9f)
2008-02-19Use rpccli_svcctl_ControlService() in net.Günther Deschner1-3/+6
Guenther (This used to be commit 49375f0b4d5ead7d26659cfc94997bd3e18c48a9)
2008-02-19Use rpccli_svcctl_StartServiceW() in net.Günther Deschner1-2/+7
Guenther (This used to be commit 5ca4358c1a2c13b316df7cc07d8ca5b820c79988)
2008-02-18Use rpccli_svcctl_OpenServiceW() in net.Günther Deschner1-23/+34
Guenther (This used to be commit 1537a2ff36841fea7bd5d49283667dd02bae84b8)
2008-02-18Use rpccli_svcctl_OpenSCManagerW() in net.Günther Deschner1-17/+75
Guenther (This used to be commit 275ce92e277c0d30cfa098e62674111c994aeb4c)
2008-02-18Remove whitespace, no code changes.Günther Deschner1-104/+104
Guenther (This used to be commit d752d52f1a4b75d7d4934da66566bc62e14caf27)
2007-12-03Fix svcctl callers.Günther Deschner1-10/+10
Guenther (This used to be commit 91bf2ac1af66acd8bcc831e758b3765fc94b2485)
2007-10-10r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell1-2/+1
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10r23271: merge service control pidl change for CloseServiceHandle() from ↵Gerald Carter1-10/+10
SAMBA_3_0_26 (This used to be commit 0b1bc3521fac52f3164b6cc9e053abc3ceabf5e7)
2007-10-10r18949: use sys_usleep()Stefan Metzmacher1-1/+1
metze (This used to be commit f9944941415b88559b67f6c7e780e364d5030240)
2007-10-10r12986: Use d_fprintf(stderr, ...) for any error message in net.Lars Müller1-16/+16
All 'usage' messages are still printed to stdout. Fix some compiler warnings for system() calls where we didn't used the return code. Add appropriate error messages and return with the error code we got from system() or NT_STATUS_UNSUCCESSFUL. (This used to be commit f650e3bdafc4c6bcd7eb4bcf8b6b885b979919eb)
2007-10-10r12173: doing some service control workGerald Carter1-0/+1
* Add a few new error codes for disabled services * dump some more details about service status in 'net rpc service' * disable the WINS and NetLogon services if not configured in smb.conf Still trying to figure out how to disable the start button on the NetLogon and WINS services. (This used to be commit c0f54eeebc84ec9fab63c5b105511762bcc136be)
2007-10-10r10656: BIG merge from trunk. Features not copied overGerald Carter1-63/+93
* \PIPE\unixinfo * winbindd's {group,alias}membership new functions * winbindd's lookupsids() functionality * swat (trunk changes to be reverted as per discussion with Deryck) (This used to be commit 939c3cb5d78e3a2236209b296aa8aba8bdce32d3)
2007-10-10r9787: BUG 2998: patch from Humberto Diogenes ↵Gerald Carter1-1/+1
<virtual.spirit@digizap.com.br> to include 'net rpc service' help in net rpc usage output (This used to be commit ace8556b6525959114bea47d3be3b1b40756b058)
2007-10-10r6051: finish offGerald Carter1-9/+289
net rpc service stop net rpc service start net rpc service pause net rpc service resume (This used to be commit a7fb2c50b07a7d9965675272a71f42beba92acfe)
2007-10-10r6046: $ net -S block -U % -W VALE rpc service status spoolerGerald Carter1-2/+98
spooler service is SVCCTL_RUNNING. Configuration details: Service Type = 0x110 Start Type = 0x2 Error Control = 0x1 Tag ID = 0x0 Executable Path = C:\WINNT\system32\spoolsv.exe Load Order Group = SpoolerGroup Dependencies = RPCSS/ Start Name = LocalSystem Display Name = Print Spooler (This used to be commit b921bf568835042a43bb0bcb2abd9d36c9d2e43f)
2007-10-10r6041: cleaning up output from 'rpc service list'Gerald Carter1-1/+1
(This used to be commit 7f02ba6646d5c9685250b8ee6e45c9723d748143)
2007-10-10r6040: finish out 'net rpc service list'Gerald Carter1-3/+24
(This used to be commit 42588ba50cb1b47a00f3e0bed33ca3431eb8af14)