summaryrefslogtreecommitdiffstats
path: root/source
Commit message (Collapse)AuthorAgeFilesLines
* samuserset <username> -p password. YESSSSS :)Luke Leighton1999-11-048-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 returnsLuke Leighton1999-11-0412-43/+438
| | | | error wrong password against nt. ????
* created msrpc_srv_enum_tprt() function by massaging cmd_srv_enum_tprt().Luke Leighton1999-11-036-62/+79
|
* dynamic mem allocation in net_srv_transport_enum() parsing.Luke Leighton1999-11-034-9/+69
|
* had to move unistr2_dup(), unistr2_free() and unistr2_copy() intoLuke Leighton1999-11-032-34/+34
| | | | util_unistr.c in order to get bin/testparm to compile.
* three types of array-creation / array-deletion functions:Luke Leighton1999-11-034-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 Leighton1999-11-023-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 / aliasesLuke Leighton1999-11-021-0/+20
|
* dynamic mem allocation in enum dom groups and enum dom aliasesLuke Leighton1999-11-027-58/+114
|
* yet another attempt to get lsaquerysecret working.Luke Leighton1999-11-021-2/+2
|
* const char* issuesLuke Leighton1999-11-012-4/+8
|
* added lsaenumdomains command.Luke Leighton1999-11-016-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 Leighton1999-11-017-172/+488
|
* added rpcclient svcstop <service name> command. gnu readlineLuke Leighton1999-11-016-2/+215
| | | | command-completion works.
* Fixed typo which was preventing the omission of seconds in the 'at' command.Matthew Chapman1999-11-011-1/+1
| | | | I *love* this scheduler stuff, it's so useful!
* added yet another rpcclient command: svcstart <service name> [arg0] [arg1] ...Luke Leighton1999-10-316-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 commandLuke Leighton1999-10-312-7/+48
|
* added svcinfo <service name> command.Luke Leighton1999-10-316-60/+179
|
* connection info level renamed to transport info levelLuke Leighton1999-10-301-1/+1
|
* NetServerTransportEnum parsing, client-side and rpcclient "srvtransports" added.Luke Leighton1999-10-3012-26/+685
|
* general, drastic improvements to rpcclient.Luke Leighton1999-10-307-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 ableLuke Leighton1999-10-292-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 Leighton1999-10-293-61/+174
|
* rpcclient regenum key client code rewritten to use higher order functions.Luke Leighton1999-10-297-115/+207
|
* rewrite rpcclient sam enum user code to use higher order functions.Luke Leighton1999-10-293-72/+136
|
* using #defines for function prototypesLuke Leighton1999-10-293-27/+35
|
* more reshuffling of enum groups code. more higher order functions.Luke Leighton1999-10-297-48/+153
|
* added HKEY_CLASSES_ROOT MSRPC open call. reg_open_hkcr etc. supportedLuke Leighton1999-10-295-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 reallyLuke Leighton1999-10-291-13/+27
| | | | useful for doing things _other_ than just "print me".
* cli_nt_setup_creds() returns uint32 NT status code not a BOOL.Luke Leighton1999-10-291-3/+4
| | | | removed all comparisons to if (fn() == False), replaced with if (!fn()).
* restructuring sam enum dom groups code to do multiple calls toLuke Leighton1999-10-283-45/+55
| | | | | sam_enum_dom_groups. enum dom aliases is still left to do (dom users already done).
* restructuring samr client code.Luke Leighton1999-10-283-114/+154
|
* removed samr_* variables from info struct.Luke Leighton1999-10-283-193/+209
|
* rewrote samr enum groups code a bit.Luke Leighton1999-10-282-28/+44
|
* rewrote api_net_sam_logon() to be a little clearer.Luke Leighton1999-10-271-140/+136
|
* no CLIX, no !HAVE_READLINE blah blah. argh.Luke Leighton1999-10-271-5/+5
|
* created samr_query_groupmem() function from existing code.Luke Leighton1999-10-262-24/+79
|
* adding extra parameter back in to trust account functions (trust account name).Luke Leighton1999-10-265-32/+46
| | | | restoring opening S-1-5-20 in sam enum users code.
* cut/paste code from smbclient for wait_keyboard() function. oops.Luke Leighton1999-10-262-6/+9
|
* - typecast malloc / Realloc issues.Luke Leighton1999-10-2520-109/+133
| | | | - signed / unsigned issues.
* signed / unsigned and typecast issuesLuke Leighton1999-10-254-81/+83
|
* the new CAP_EXTENDED_SECURITY code needed to support NTLMv2. also removedLuke Leighton1999-10-251-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 MSRPCLuke Leighton1999-10-2510-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 Leighton1999-10-218-27/+106
|
* turning some of the rpcclient functions dynamic. this is likely toLuke Leighton1999-10-219-131/+274
| | | | break a few things...
* various. debug levels changed. nmbd doesn't need libsmb/clienttrust.c.Luke Leighton1999-10-2114-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 Leighton1999-10-212-1/+212
|
* use DEBUGADD instead of DEBUG: clears up some of the more verbose trash.Luke Leighton1999-10-211-3/+3
|
* need status codes from cli_net_req_chal() and cli_net_auth2().Luke Leighton1999-10-196-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 withLuke Leighton1999-10-191-1/+31
| | | | HAVE_READLINE