Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | added samuserset2 rpcclient command to test ACB_XXX bit-setting on | Luke Leighton | 1999-11-18 | 2 | -4/+51 | |
| | | | | | samr opcode 0x25. _yet_ another failed attempt to get nt5rc2 to join a samba domain. what _is_ it with this stuff, dammit? | |||||
* | updating reg_value_info() parsing code to take BUFFER2 instead of just | Luke Leighton | 1999-11-18 | 2 | -4/+4 | |
| | | | | a char*. now copes with multiple types. | |||||
* | added regqueryval command (experimental) to get reg_io_q_info() and | Luke Leighton | 1999-11-18 | 3 | -25/+25 | |
| | | | | | | | | 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. | |||||
* | attempting to get nt5 wksta to join domain. | Luke Leighton | 1999-11-16 | 2 | -1/+2 | |
| | | | | | | | | 1) had to fix samr "create user" and "set user info" (level 23). 2) had to fix netlogon enum trust domains 3) registry key needed \\ in it not \. | |||||
* | added two new params: "trusted domains" and "trusting domains". | Luke Leighton | 1999-11-16 | 1 | -1/+10 | |
| | | | | | | | these _may_ not actually ever get used, as trust relationships really need to be established with shared secrets, and you need to get the SID of the trusted and trusting domains, so this may have to go in a private/xxx.mac file. | |||||
* | Changes to implement NET_AUTH based on NET_AUTH2, to get Win2000 | Richard Sharpe | 1999-11-16 | 1 | -2/+17 | |
| | | | | happier in joining a Samba domain. | |||||
* | added server-side samr enum domains. fixed some parsing issues, server-side. | Luke Leighton | 1999-11-15 | 1 | -0/+1 | |
| | ||||||
* | added rpcclient "enumdomains" command. enumerates names of domains | Luke Leighton | 1999-11-15 | 3 | -1/+52 | |
| | | | | | | | | 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!!!!! | |||||
* | - added DCE/RPC "fault" PDU support. | Luke Leighton | 1999-11-15 | 4 | -5/+22 | |
| | | | | | | | | | - disabled (AGAIN) the GETDC "if (MAILSLOT\NTLOGON)" code that will get NT5rc2 to work but WILL break win95 (AGAIN). this needs _not_ to be re-enabled but to be replaced with a better mechanism. - added SMBwrite support (note: SMBwriteX already existed) as NT5rc2 is sending DCE/RPC over SMBwrite not SMBwriteX. | |||||
* | debugging rpcclient spoolenum and spooljobs commands. oh, did i forget | Luke Leighton | 1999-11-09 | 4 | -11/+44 | |
| | | | | | to mention, there's a spooljobs <printer name> command, and it uses command-line completion? prints out NT print jobs really nicely, too. | |||||
* | preparation for doing a spoolss enum jobs command. had to rewrite | Luke Leighton | 1999-11-08 | 2 | -2/+16 | |
| | | | | spoolss_enumjobs parsing code to do read / writes not just writes. | |||||
* | const feeding frenzy | Luke Leighton | 1999-11-08 | 2 | -176/+214 | |
| | ||||||
* | added command-completion printer enum code. | Luke Leighton | 1999-11-06 | 2 | -1/+8 | |
| | ||||||
* | fixed string function for reading in printer_info_N. | Luke Leighton | 1999-11-06 | 1 | -0/+10 | |
| | ||||||
* | added rpcclient spoolenum command. enumerates printers. | Luke Leighton | 1999-11-06 | 2 | -6/+24 | |
| | | | | | | 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. | |||||
* | spoolss openprinterex / closeprinter client-code. | Luke Leighton | 1999-11-06 | 2 | -29/+32 | |
| | | | | | | | experimental spoolopen <printer name> command added. jean-francois, f.y.i. i changed the #define for SPOOLSS_OPENPRINTEREX from op code 0x44 to 0x45. | |||||
* | experimental spoolss rpcclient commands | Luke Leighton | 1999-11-05 | 2 | -12/+43 | |
| | ||||||
* | samuserset <username> -p password. YESSSSS :) | Luke Leighton | 1999-11-04 | 2 | -6/+37 | |
| | | | | 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 | 2 | -2/+13 | |
| | | | | error wrong password against nt. ???? | |||||
* | created msrpc_srv_enum_tprt() function by massaging cmd_srv_enum_tprt(). | Luke Leighton | 1999-11-03 | 2 | -8/+15 | |
| | ||||||
* | dynamic mem allocation in net_srv_transport_enum() parsing. | Luke Leighton | 1999-11-03 | 2 | -5/+7 | |
| | ||||||
* | three types of array-creation / array-deletion functions: | Luke Leighton | 1999-11-03 | 1 | -2/+10 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | 1 | -0/+2 | |
| | | | | | | added samaliasmem <aliasname> rpcclient command (shows members in alias) added tab command-completion to SAM alias related commands (inc 2 above). | |||||
* | dynamic mem allocation in enum dom groups and enum dom aliases | Luke Leighton | 1999-11-02 | 3 | -9/+8 | |
| | ||||||
* | const char* issues | Luke Leighton | 1999-11-01 | 1 | -2/+4 | |
| | ||||||
* | added lsaenumdomains command. | Luke Leighton | 1999-11-01 | 2 | -12/+26 | |
| | | | | | 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 | 2 | -6/+34 | |
| | ||||||
* | added rpcclient svcstop <service name> command. gnu readline | Luke Leighton | 1999-11-01 | 2 | -0/+32 | |
| | | | | command-completion works. | |||||
* | added yet another rpcclient command: svcstart <service name> [arg0] [arg1] ... | Luke Leighton | 1999-10-31 | 2 | -2/+11 | |
| | | | | | | | | | 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... | |||||
* | added svcinfo <service name> command. | Luke Leighton | 1999-10-31 | 2 | -2/+16 | |
| | ||||||
* | NetServerTransportEnum parsing, client-side and rpcclient "srvtransports" added. | Luke Leighton | 1999-10-30 | 2 | -10/+119 | |
| | ||||||
* | general, drastic improvements to rpcclient. | Luke Leighton | 1999-10-30 | 1 | -26/+20 | |
| | | | | | | | | | | | 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]) | |||||
* | added gnu readline command-line completion to the regenum command. | Luke Leighton | 1999-10-29 | 1 | -1/+2 | |
| | ||||||
* | rpcclient regenum key client code rewritten to use higher order functions. | Luke Leighton | 1999-10-29 | 3 | -10/+17 | |
| | ||||||
* | rewrite rpcclient sam enum user code to use higher order functions. | Luke Leighton | 1999-10-29 | 2 | -4/+13 | |
| | ||||||
* | using #defines for function prototypes | Luke Leighton | 1999-10-29 | 2 | -3/+11 | |
| | ||||||
* | more reshuffling of enum groups code. more higher order functions. | Luke Leighton | 1999-10-29 | 2 | -4/+9 | |
| | ||||||
* | added HKEY_CLASSES_ROOT MSRPC open call. reg_open_hkcr etc. supported | Luke Leighton | 1999-10-29 | 2 | -6/+34 | |
| | | | | in rpcclient, regenum HKEY_CLASSES_ROOT or regenum HKCR to test. | |||||
* | restructuring sam enum dom groups code to do multiple calls to | Luke Leighton | 1999-10-28 | 1 | -2/+2 | |
| | | | | | 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 | 1 | -2/+9 | |
| | ||||||
* | removed samr_* variables from info struct. | Luke Leighton | 1999-10-28 | 2 | -11/+6 | |
| | ||||||
* | rewrote samr enum groups code a bit. | Luke Leighton | 1999-10-28 | 1 | -0/+3 | |
| | ||||||
* | created samr_query_groupmem() function from existing code. | Luke Leighton | 1999-10-26 | 1 | -0/+6 | |
| | ||||||
* | adding extra parameter back in to trust account functions (trust account name). | Luke Leighton | 1999-10-26 | 1 | -1/+7 | |
| | | | | 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 | 1 | -2/+5 | |
| | ||||||
* | - typecast malloc / Realloc issues. | Luke Leighton | 1999-10-25 | 2 | -28/+29 | |
| | | | | - signed / unsigned issues. | |||||
* | signed / unsigned and typecast issues | Luke Leighton | 1999-10-25 | 1 | -3/+3 | |
| | ||||||
* | one of those wonderful moments when running against a different MSRPC | Luke Leighton | 1999-10-25 | 3 | -13/+19 | |
| | | | | | | 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 | 1 | -2/+4 | |
| | ||||||
* | turning some of the rpcclient functions dynamic. this is likely to | Luke Leighton | 1999-10-21 | 2 | -14/+18 | |
| | | | | break a few things... |