Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | samuserset <username> -p password. YESSSSS :) | Luke Leighton | 1999-11-04 | 8 | -144/+310 |
| | | | | you have to use "ntlmv1" at the moment (i.e set client ntlmv2 = no). | ||||
* | adding experimental set user password command to rpcclient, it returns | Luke Leighton | 1999-11-04 | 12 | -43/+438 |
| | | | | error wrong password against nt. ???? | ||||
* | created msrpc_srv_enum_tprt() function by massaging cmd_srv_enum_tprt(). | Luke Leighton | 1999-11-03 | 6 | -62/+79 |
| | |||||
* | dynamic mem allocation in net_srv_transport_enum() parsing. | Luke Leighton | 1999-11-03 | 4 | -9/+69 |
| | |||||
* | had to move unistr2_dup(), unistr2_free() and unistr2_copy() into | Luke Leighton | 1999-11-03 | 2 | -34/+34 |
| | | | | util_unistr.c in order to get bin/testparm to compile. | ||||
* | three types of array-creation / array-deletion functions: | Luke Leighton | 1999-11-03 | 4 | -35/+66 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | char* UNISTR2* SID* decided to create a higher-order function set, add_item_to_array() free_item_array(). higher-order support routines needed to add a new type: type* item_dup(const type*) void item_free(type*) of course, strdup() and free() are perfect, pre-existing examples of such functions, used in the implementation of add_chars_to_array() and free_char_array(). sid_dup() and free() work for the add_sids_to_array() and free_sid_array() implementations. use unistr2_dup() and created unistr2_free() because the functionality behind these may change into something horrible, like [horror] dynamic memory allocation of the UNISTR2 character array. argh!!!! jean-francois, this function set implements what we talked about over... a year ago, now :-) | ||||
* | added samalias <aliasname> rpcclient command (shows info on alias) | Luke Leighton | 1999-11-02 | 3 | -14/+258 |
| | | | | | | added samaliasmem <aliasname> rpcclient command (shows members in alias) added tab command-completion to SAM alias related commands (inc 2 above). | ||||
* | free up memory allocated by enum dom groups / aliases | Luke Leighton | 1999-11-02 | 1 | -0/+20 |
| | |||||
* | dynamic mem allocation in enum dom groups and enum dom aliases | Luke Leighton | 1999-11-02 | 7 | -58/+114 |
| | |||||
* | yet another attempt to get lsaquerysecret working. | Luke Leighton | 1999-11-02 | 1 | -2/+2 |
| | |||||
* | const char* issues | Luke Leighton | 1999-11-01 | 2 | -4/+8 |
| | |||||
* | added lsaenumdomains command. | Luke Leighton | 1999-11-01 | 6 | -27/+286 |
| | | | | | 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. | ||||
* | rewrote rpcclient enumaliases command. | Luke Leighton | 1999-11-01 | 7 | -172/+488 |
| | |||||
* | added rpcclient svcstop <service name> command. gnu readline | Luke Leighton | 1999-11-01 | 6 | -2/+215 |
| | | | | command-completion works. | ||||
* | Fixed typo which was preventing the omission of seconds in the 'at' command. | Matthew Chapman | 1999-11-01 | 1 | -1/+1 |
| | | | | I *love* this scheduler stuff, it's so useful! | ||||
* | added yet another rpcclient command: svcstart <service name> [arg0] [arg1] ... | Luke Leighton | 1999-10-31 | 6 | -6/+184 |
| | | | | | | | | | 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... | ||||
* | command-line completion for new svcinfo command | Luke Leighton | 1999-10-31 | 2 | -7/+48 |
| | |||||
* | added svcinfo <service name> command. | Luke Leighton | 1999-10-31 | 6 | -60/+179 |
| | |||||
* | connection info level renamed to transport info level | Luke Leighton | 1999-10-30 | 1 | -1/+1 |
| | |||||
* | NetServerTransportEnum parsing, client-side and rpcclient "srvtransports" added. | Luke Leighton | 1999-10-30 | 12 | -26/+685 |
| | |||||
* | general, drastic improvements to rpcclient. | Luke Leighton | 1999-10-30 | 7 | -907/+1506 |
| | | | | | | | | | | | 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]) | ||||
* | messing with command-line completion. it sort-of works to be able | Luke Leighton | 1999-10-29 | 2 | -27/+104 |
| | | | | to enumerate down a key tree, but it's a serious fudge. oops. | ||||
* | added gnu readline command-line completion to the regenum command. | Luke Leighton | 1999-10-29 | 3 | -61/+174 |
| | |||||
* | rpcclient regenum key client code rewritten to use higher order functions. | Luke Leighton | 1999-10-29 | 7 | -115/+207 |
| | |||||
* | rewrite rpcclient sam enum user code to use higher order functions. | Luke Leighton | 1999-10-29 | 3 | -72/+136 |
| | |||||
* | using #defines for function prototypes | Luke Leighton | 1999-10-29 | 3 | -27/+35 |
| | |||||
* | more reshuffling of enum groups code. more higher order functions. | Luke Leighton | 1999-10-29 | 7 | -48/+153 |
| | |||||
* | added HKEY_CLASSES_ROOT MSRPC open call. reg_open_hkcr etc. supported | Luke Leighton | 1999-10-29 | 5 | -7/+166 |
| | | | | in rpcclient, regenum HKEY_CLASSES_ROOT or regenum HKCR to test. | ||||
* | using higher-order-function in enum groups as a test. makes it really | Luke Leighton | 1999-10-29 | 1 | -13/+27 |
| | | | | useful for doing things _other_ than just "print me". | ||||
* | cli_nt_setup_creds() returns uint32 NT status code not a BOOL. | Luke Leighton | 1999-10-29 | 1 | -3/+4 |
| | | | | removed all comparisons to if (fn() == False), replaced with if (!fn()). | ||||
* | restructuring sam enum dom groups code to do multiple calls to | Luke Leighton | 1999-10-28 | 3 | -45/+55 |
| | | | | | sam_enum_dom_groups. enum dom aliases is still left to do (dom users already done). | ||||
* | restructuring samr client code. | Luke Leighton | 1999-10-28 | 3 | -114/+154 |
| | |||||
* | removed samr_* variables from info struct. | Luke Leighton | 1999-10-28 | 3 | -193/+209 |
| | |||||
* | rewrote samr enum groups code a bit. | Luke Leighton | 1999-10-28 | 2 | -28/+44 |
| | |||||
* | rewrote api_net_sam_logon() to be a little clearer. | Luke Leighton | 1999-10-27 | 1 | -140/+136 |
| | |||||
* | no CLIX, no !HAVE_READLINE blah blah. argh. | Luke Leighton | 1999-10-27 | 1 | -5/+5 |
| | |||||
* | created samr_query_groupmem() function from existing code. | Luke Leighton | 1999-10-26 | 2 | -24/+79 |
| | |||||
* | adding extra parameter back in to trust account functions (trust account name). | Luke Leighton | 1999-10-26 | 5 | -32/+46 |
| | | | | restoring opening S-1-5-20 in sam enum users code. | ||||
* | cut/paste code from smbclient for wait_keyboard() function. oops. | Luke Leighton | 1999-10-26 | 2 | -6/+9 |
| | |||||
* | - typecast malloc / Realloc issues. | Luke Leighton | 1999-10-25 | 20 | -109/+133 |
| | | | | - signed / unsigned issues. | ||||
* | signed / unsigned and typecast issues | Luke Leighton | 1999-10-25 | 4 | -81/+83 |
| | |||||
* | the new CAP_EXTENDED_SECURITY code needed to support NTLMv2. also removed | Luke Leighton | 1999-10-25 | 1 | -1/+1 |
| | | | | | switching on CAP_STATUS32 from non-CAP_EXTENDED_SECURITY code (enabled for test purposes only) | ||||
* | one of those wonderful moments when running against a different MSRPC | Luke Leighton | 1999-10-25 | 10 | -79/+133 |
| | | | | | | implementation (NT5) when you discover that your code is trash. samr_enum_dom_users(), samr_enum_dom_aliases() and samr_enum_dom_groups() all take a HANDLE for multiple-call enumeration purposes. | ||||
* | the dynamic memory alloc blood-fest goes on... | Luke Leighton | 1999-10-21 | 8 | -27/+106 |
| | |||||
* | turning some of the rpcclient functions dynamic. this is likely to | Luke Leighton | 1999-10-21 | 9 | -131/+274 |
| | | | | break a few things... | ||||
* | various. debug levels changed. nmbd doesn't need libsmb/clienttrust.c. | Luke Leighton | 1999-10-21 | 14 | -282/+210 |
| | | | | | | | samr_lookup_rids() moved to a dynamic memory structure not a static one limited to 32 RIDs. cli_pipe.c reading wasn't checking ERRmoredata when DOS error codes negotiated (this terminates MSRPC code with prejudice). | ||||
* | split modify_trust_account_password into a separate module. | Luke Leighton | 1999-10-21 | 2 | -1/+212 |
| | |||||
* | use DEBUGADD instead of DEBUG: clears up some of the more verbose trash. | Luke Leighton | 1999-10-21 | 1 | -3/+3 |
| | |||||
* | need status codes from cli_net_req_chal() and cli_net_auth2(). | Luke Leighton | 1999-10-19 | 6 | -96/+119 |
| | | | | | | this format is what i would like _all_ these functions to be (returning status codes, not BOOL) but that's a horrendous amount of work at the moment :) | ||||
* | oops, added wait_keyboard back, but _this_ time wrapped it with | Luke Leighton | 1999-10-19 | 1 | -1/+31 |
| | | | | HAVE_READLINE |