summaryrefslogtreecommitdiff
path: root/source3/rpcclient
AgeCommit message (Collapse)AuthorFilesLines
1999-11-23oops, freed argc,argv arguments twice.Luke Leighton1-2/+0
(This used to be commit 447143be81acbbcc148211183a512d4cab347ac7)
1999-11-23attempted a svcset command. password is encrypted / messed up, thereforeLuke Leighton2-41/+39
command fails. (This used to be commit 9193f0eff56399e9bc09787dbe785b603886eaa3)
1999-11-23oops!!!! wrong command!!!Luke Leighton2-2/+90
(This used to be commit cbbfef6d2a5335a6daa4fe09ea2d73197417894f)
1999-11-23adding svcctl 0x1b functionLuke Leighton1-0/+78
(This used to be commit d5869df3716fec21d3a4237dbf5d2417d3350e11)
1999-11-23shuffling msrpc code around so that it can be used independently of rpcclientLuke Leighton1-39/+2
(This used to be commit e88e7d529b5bdf32ac3bc71fa8e18f6f2a98c695)
1999-11-22the last one. that concludes the removal of all next_token() callsLuke Leighton2-60/+91
from rpcclient/cmd_*.c. (This used to be commit ca803c17fa51ace5f2b99b09f5c59893f43ba70d)
1999-11-22another four next_token() removals (using getopt instead)Luke Leighton4-32/+48
(This used to be commit 3e76ca9b172e1a6886e714d6a36453f30ff3e771)
1999-11-22another two.Luke Leighton2-33/+39
(This used to be commit b0f8ef6168d04d55d53fc2d02df5f54176e4f893)
1999-11-22another oneLuke Leighton1-18/+12
(This used to be commit c1ba1bfd68fa96937decad8f1d7421daad6e30fe)
1999-11-22moved two more commands over to getopt.Luke Leighton2-22/+32
(This used to be commit de360d1e908b4e2e77cd028b19f3ccd07903a4dd)
1999-11-22okay :) all cmd_() functions now take int argc, char **argv :) thatLuke Leighton12-267/+307
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-21you know what? this sort of thing makes me laugh. hmm, what functionsLuke Leighton1-0/+3
have we got. and what data do we have. hmm.. i wonder what the NTLMv2 user session key can be... hmmm... weell.... there's some hidden data here, generated from the user password that doesn't go over-the-wire, so that's _got_ to be involved. and... that bit of data took a lot of computation to produce, so it's probably _also_ involved... and md4 no, md5? no, how about hmac_md5 yes let's try that one (the other's didn't work) oh goodie, it worked! i love it when this sort of thing happens. took all of fifteen minutes to guess it. tried concatenating client and server challenges. tried concatenating _random_ bits of client and server challenges. tried md5 of the above. tried hmac_md5 of the above. eventually, it boils down to this: kr = MD4(NT#,username,domainname) hmacntchal=hmac_md5(kr, nt server challenge) sess_key = hmac_md5(kr, hmacntchal); (This used to be commit ab174759cd210fe1be888d0c589a5b2669f7ff1e)
1999-11-21moving create user function into msrpc_samr.cLuke Leighton1-51/+6
(This used to be commit e885027eb705ab13c2800b8995661accad841643)
1999-11-20doing a code reshuffle. want to add code to establish trust relationships.Luke Leighton1-934/+0
(This used to be commit 3ec269b402ba6898d905ea1029c427e1b645faf4)
1999-11-19added \PIPE\browser plus experimental brsinfo command. you wouldn'tLuke Leighton2-0/+102
believe the XXXX that MIGHT be involved in getting nt5rc2 to join a samba domain... (This used to be commit 569babb3935950c1b64396955541abf276cc1d92)
1999-11-18responses to UDP samquery go back to SERVER<00> not DOMAIN<1c>, theLuke Leighton1-2/+10
request name. modified createuser rpcclient command to examine name being added. if it ends in a $, assume that a workstation trust account is being added. (This used to be commit 4aea261cb0e5f34255ff83271eb5cadb0eb78bc9)
1999-11-18added samuserset2 rpcclient command to test ACB_XXX bit-setting onLuke Leighton2-0/+162
samr opcode 0x25. _yet_ another failed attempt to get nt5rc2 to join a samba domain. what _is_ it with this stuff, dammit? (This used to be commit c3913f8ae272c496fc4519141accf01ee9f1e49e)
1999-11-18updating reg_value_info() parsing code to take BUFFER2 instead of justLuke Leighton1-22/+22
a char*. now copes with multiple types. (This used to be commit 3df7c903c5b70f336294a95ad864aedbacf544b0)
1999-11-18added regqueryval command (experimental) to get reg_io_q_info() andLuke Leighton2-0/+92
reg_io_r_info() working properly. previously they weren't well understood (well, they were the first of the registry functions i did, back in december 97, ok??? :-) set ntversion to 0x1 in SAMQUERY, so that we reply same as NT4 srv. (This used to be commit 98ddeaf442cb30972cb281bf0489a6e5f7eb2883)
1999-11-16oops, mistake in parsing command-arguments. repeated calls toLuke Leighton1-1/+1
next_token() should not have line to parse as first arg. oops. (This used to be commit 3273bc068d0e0a8eefc92f9b21db47f239b76d21)
1999-11-15added rpcclient "enumdomains" command. enumerates names of domainsLuke Leighton2-0/+143
for which a PDC is responsible. typical answers are: <Name of Domain> plus <Builtin>. against a hierarchical, down-level-compatible NT5 PDC, there's likely to be more than these two entries!!!!! (This used to be commit 3146aa6b6049a0d996e9abbe7dbee8526550e7e0)
1999-11-09debugging rpcclient spoolenum and spooljobs commands. oh, did i forgetLuke Leighton3-9/+373
to mention, there's a spooljobs <printer name> command, and it uses command-line completion? prints out NT print jobs really nicely, too. (This used to be commit e6e5caf16c8d120f0c11fa63061f2786098e3357)
1999-11-09riccardo sibilia spotted line 1884 has uint32 group_rid[0] not group_rid[1]Luke Leighton1-1/+1
oops! (This used to be commit ea1d5af105cc0df8d6523d0a734827ee47e1f58c)
1999-11-08const feeding frenzyLuke Leighton7-354/+417
(This used to be commit e0eb390ab3e2a0cce191e78ea4ff90d088a8895c)
1999-11-08const feeding frenzyLuke Leighton1-69/+71
(This used to be commit 6d27c5f32dab7607398ae907eadb1c27a416da0d)
1999-11-06added command-completion printer enum code.Luke Leighton2-17/+82
(This used to be commit 6947f8fac7d6d643a265fdcb56b2a390b9a9a1c0)
1999-11-06fixed string function for reading in printer_info_N.Luke Leighton2-5/+203
(This used to be commit 0249ae50ad8135cf3fd11a3b85f771f2347fcb29)
1999-11-06added rpcclient spoolenum command. enumerates printers.Luke Leighton3-3/+49
spoolss_r_io_enumprinters doesn't decode strings correctly as printer_info_1/2 code has only been written to write structures, not read them. (This used to be commit 135eaa977385cdd5f572a51f654f14d893347d7b)
1999-11-06spoolss openprinterex / closeprinter client-code.Luke Leighton2-10/+94
experimental spoolopen <printer name> command added. jean-francois, f.y.i. i changed the #define for SPOOLSS_OPENPRINTEREX from op code 0x44 to 0x45. (This used to be commit ef7fa58fd3c259c765c3bc82424d4c0f192ec90e)
1999-11-05experimental spoolss rpcclient commandsLuke Leighton1-1/+17
(This used to be commit c86edef90e7c96d5a99be29e2d2a3679ed26d97d)
1999-11-04samuserset <username> -p password. YESSSSS :)Luke Leighton1-6/+54
you have to use "ntlmv1" at the moment (i.e set client ntlmv2 = no). (This used to be commit f52504c553becc64b89d546a57b1bd9cf1bc5b5c)
1999-11-04adding experimental set user password command to rpcclient, it returnsLuke Leighton6-27/+207
error wrong password against nt. ???? (This used to be commit b3f16e6b5aa5ba1b6afa38ad698646c8e765ec90)
1999-11-03created msrpc_srv_enum_tprt() function by massaging cmd_srv_enum_tprt().Luke Leighton1-47/+56
(This used to be commit 3f9455c535607090103a371ff96051a5ce32e461)
1999-11-03dynamic mem allocation in net_srv_transport_enum() parsing.Luke Leighton1-0/+2
(This used to be commit 6b919ebb4ed8c0082d8bffb299766bff9e718faf)
1999-11-02added samalias <aliasname> rpcclient command (shows info on alias)Luke Leighton2-14/+256
added samaliasmem <aliasname> rpcclient command (shows members in alias) added tab command-completion to SAM alias related commands (inc 2 above). (This used to be commit 0c700fb609adf80cb3191f2976c6d56088d81232)
1999-11-02dynamic mem allocation in enum dom groups and enum dom aliasesLuke Leighton1-5/+0
(This used to be commit baa789fabc45e62889755802fd8ec8c9191fe767)
1999-11-02yet another attempt to get lsaquerysecret working.Luke Leighton1-2/+2
(This used to be commit fbeceec5016c634136cdbb14423e25992d9521e9)
1999-11-01added lsaenumdomains command.Luke Leighton2-3/+75
attempting to get blood out of a stone^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H querysecret to work, it keeps returning access denied. (This used to be commit 953fe6ba9454fa4b8e69426527eca37b011f76ac)
1999-11-01rewrote rpcclient enumaliases command.Luke Leighton2-130/+346
(This used to be commit 492fdaaf2009e7d7e840323357a333fdf9c4d2e1)
1999-11-01added rpcclient svcstop <service name> command. gnu readlineLuke Leighton2-1/+67
command-completion works. (This used to be commit 926fe6273a8cd9550838ecdfca276f915c92031b)
1999-11-01Fixed typo which was preventing the omission of seconds in the 'at' command.Matthew Chapman1-1/+1
I *love* this scheduler stuff, it's so useful! (This used to be commit 5cb124806dbaa08b659fd8bdf67a9b06436d3d20)
1999-10-31added yet another rpcclient command: svcstart <service name> [arg0] [arg1] ...Luke Leighton2-0/+78
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 Leighton2-7/+48
(This used to be commit 5ca07721ba1f71d831ca89851e9fc23a41f40194)
1999-10-31added svcinfo <service name> command.Luke Leighton2-56/+156
(This used to be commit c243231d8596a732aba69179ff8f3882e7118297)
1999-10-30connection info level renamed to transport info levelLuke Leighton1-1/+1
(This used to be commit 1c3a6f9822e06c676d93db6ea3d84a3b9b71fad0)
1999-10-30NetServerTransportEnum parsing, client-side and rpcclient "srvtransports" added.Luke Leighton4-2/+180
(This used to be commit 37f4aac06fec3fbb34ed40d1010829b2e1f28558)
1999-10-30general, drastic improvements to rpcclient.Luke Leighton3-869/+1452
added samgroup <groupname> command added samgroupmem <groupname> command added proper registry key completion added sam command user-completion (e.g samuser [tab]) added sam command group-completion (e.g samgroup [tab]) (This used to be commit bc5d021916a2f070c62011870a80b3b2707aff3b)
1999-10-29messing with command-line completion. it sort-of works to be ableLuke Leighton2-27/+104
to enumerate down a key tree, but it's a serious fudge. oops. (This used to be commit a5e805806aab627e69fcdb9fee7170b00710108b)
1999-10-29added gnu readline command-line completion to the regenum command.Luke Leighton2-60/+172
(This used to be commit 50890516fdefe6db6cdadbf5b7a487aadf7796ec)
1999-10-29rpcclient regenum key client code rewritten to use higher order functions.Luke Leighton2-102/+185
(This used to be commit 6a759c57dcb851aa19d1d4156249a3df112aefd0)