summaryrefslogtreecommitdiff
path: root/source3/rpcclient/cmd_svcctl.c
AgeCommit message (Collapse)AuthorFilesLines
1999-11-26whoa. _major_ restructure of rpcclient. fixed some buuugs, created a few.Luke Leighton1-3/+0
found out that getopt() _must_ have optind set to 0 before reuse. still haven't decided what to do with the net* api yet... (This used to be commit 29c480085e786905bfd92ea3cd93658f94e96e47)
1999-11-24service control manager API completed. svcenum -i works, but does notLuke Leighton1-91/+38
do so twice. possible memory corruption, revolving around getopt(). (This used to be commit 7cacf8bd026f1ee274f1d352c68cf79cf4f3b499)
1999-11-23attempted a svcset command. password is encrypted / messed up, thereforeLuke Leighton1-38/+36
command fails. (This used to be commit 9193f0eff56399e9bc09787dbe785b603886eaa3)
1999-11-23oops!!!! wrong command!!!Luke Leighton1-2/+83
(This used to be commit cbbfef6d2a5335a6daa4fe09ea2d73197417894f)
1999-11-22moved two more commands over to getopt.Luke Leighton1-19/+30
(This used to be commit de360d1e908b4e2e77cd028b19f3ccd07903a4dd)
1999-11-22okay :) all cmd_() functions now take int argc, char **argv :) thatLuke Leighton1-4/+4
means that some commands need more work, as they still use next_token(), the use of which i wish to avoid. plus, i was getting fed up of the poor command-line processing in some of these commands. i'm starting to need getopt() in them, especially in samsetuser. WARNING: only cmd_samr has been modded to use getopt() so far! reg commands won't work, esp. (This used to be commit 9a1efa03c8bb86c9b7e73f102a9d48fb6a57a523)
1999-11-08const feeding frenzyLuke Leighton1-2/+2
(This used to be commit e0eb390ab3e2a0cce191e78ea4ff90d088a8895c)
1999-11-01added rpcclient svcstop <service name> command. gnu readlineLuke Leighton1-1/+60
command-completion works. (This used to be commit 926fe6273a8cd9550838ecdfca276f915c92031b)
1999-10-31added yet another rpcclient command: svcstart <service name> [arg0] [arg1] ...Luke Leighton1-0/+71
works with command-line completion on the service name (ohh yesss, this is becoming my favourite bit of functionality-on-the-side hee hee :) had to fix the svc_io_q_start_service() code which was missing the ptr_argv[] array in between the array-size and the UNISTR2-array. i.e it's actually an array of _pointers_ to unicode strings... (This used to be commit 2903f22e7ed9306229035accfa757fd810645820)
1999-10-31command-line completion for new svcinfo commandLuke Leighton1-6/+3
(This used to be commit 5ca07721ba1f71d831ca89851e9fc23a41f40194)
1999-10-31added svcinfo <service name> command.Luke Leighton1-56/+149
(This used to be commit c243231d8596a732aba69179ff8f3882e7118297)
1999-02-15Always null-terminate strings.Matthew Chapman1-1/+1
Also some string length and sizeof(pointer) corrections. (This used to be commit ce24191939b82985d09eabe945199f38b0fea486)
1999-02-12UNICODE cleanup (see lib/util_unistr.c).Matthew Chapman1-1/+2
No more ugly static library buffers and all functions take a destination string length (especially unistrcpy was rather dangerous; we were only saved by the fact that datagrams are limited in size). (This used to be commit a1d39af1ce1d451b811dbd7c2ba391214851b87e)
1999-01-28rpcclient "Service Control Manager" svcenum [-i] command.Luke Leighton1-5/+37
(This used to be commit a022710f1e3996ecbe6bbe035e1df0bc4c050b34)
1999-01-27Service Control Manager - service enumeration.Luke Leighton1-30/+21
(This used to be commit f4dd8f6b566961890b2933b7a413241bf9b93797)
1999-01-27set_port warning / unused / global/local variable overlap issuesLuke Leighton1-5/+5
cmd_svcctl.c tests got put into cvs by mistake. (This used to be commit 0ed70972d72533558f0fdd43e6ec95ac2102b9d0)
1998-12-09adding some enumerate services code, client and server.Luke Leighton1-1/+11
(This used to be commit dacf5b152bf74cc3ee9a816911384a5eb0e77afa)
1998-12-08adding "Service Control Manager" commands to rpcclient.Luke Leighton1-0/+119
(This used to be commit e5ee965f8d8452ab694bc5d88e474c4b91dce5b0)