summaryrefslogtreecommitdiffstats
path: root/source/include
Commit message (Collapse)AuthorAgeFilesLines
...
* added samuserset2 rpcclient command to test ACB_XXX bit-setting onLuke Leighton1999-11-182-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 justLuke Leighton1999-11-182-4/+4
| | | | a char*. now copes with multiple types.
* added regqueryval command (experimental) to get reg_io_q_info() andLuke Leighton1999-11-183-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 Leighton1999-11-162-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 Leighton1999-11-161-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 Win2000Richard Sharpe1999-11-161-2/+17
| | | | happier in joining a Samba domain.
* added server-side samr enum domains. fixed some parsing issues, server-side.Luke Leighton1999-11-151-0/+1
|
* added rpcclient "enumdomains" command. enumerates names of domainsLuke Leighton1999-11-153-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 Leighton1999-11-154-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 forgetLuke Leighton1999-11-094-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 rewriteLuke Leighton1999-11-082-2/+16
| | | | spoolss_enumjobs parsing code to do read / writes not just writes.
* const feeding frenzyLuke Leighton1999-11-082-176/+214
|
* added command-completion printer enum code.Luke Leighton1999-11-062-1/+8
|
* fixed string function for reading in printer_info_N.Luke Leighton1999-11-061-0/+10
|
* added rpcclient spoolenum command. enumerates printers.Luke Leighton1999-11-062-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 Leighton1999-11-062-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 commandsLuke Leighton1999-11-052-12/+43
|
* samuserset <username> -p password. YESSSSS :)Luke Leighton1999-11-042-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 returnsLuke Leighton1999-11-042-2/+13
| | | | error wrong password against nt. ????
* created msrpc_srv_enum_tprt() function by massaging cmd_srv_enum_tprt().Luke Leighton1999-11-032-8/+15
|
* dynamic mem allocation in net_srv_transport_enum() parsing.Luke Leighton1999-11-032-5/+7
|
* three types of array-creation / array-deletion functions:Luke Leighton1999-11-031-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 Leighton1999-11-021-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 aliasesLuke Leighton1999-11-023-9/+8
|
* const char* issuesLuke Leighton1999-11-011-2/+4
|
* added lsaenumdomains command.Luke Leighton1999-11-012-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 Leighton1999-11-012-6/+34
|
* added rpcclient svcstop <service name> command. gnu readlineLuke Leighton1999-11-012-0/+32
| | | | command-completion works.
* added yet another rpcclient command: svcstart <service name> [arg0] [arg1] ...Luke Leighton1999-10-312-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 Leighton1999-10-312-2/+16
|
* NetServerTransportEnum parsing, client-side and rpcclient "srvtransports" added.Luke Leighton1999-10-302-10/+119
|
* general, drastic improvements to rpcclient.Luke Leighton1999-10-301-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 Leighton1999-10-291-1/+2
|
* rpcclient regenum key client code rewritten to use higher order functions.Luke Leighton1999-10-293-10/+17
|
* rewrite rpcclient sam enum user code to use higher order functions.Luke Leighton1999-10-292-4/+13
|
* using #defines for function prototypesLuke Leighton1999-10-292-3/+11
|
* more reshuffling of enum groups code. more higher order functions.Luke Leighton1999-10-292-4/+9
|
* added HKEY_CLASSES_ROOT MSRPC open call. reg_open_hkcr etc. supportedLuke Leighton1999-10-292-6/+34
| | | | in rpcclient, regenum HKEY_CLASSES_ROOT or regenum HKCR to test.
* restructuring sam enum dom groups code to do multiple calls toLuke Leighton1999-10-281-2/+2
| | | | | sam_enum_dom_groups. enum dom aliases is still left to do (dom users already done).
* restructuring samr client code.Luke Leighton1999-10-281-2/+9
|
* removed samr_* variables from info struct.Luke Leighton1999-10-282-11/+6
|
* rewrote samr enum groups code a bit.Luke Leighton1999-10-281-0/+3
|
* created samr_query_groupmem() function from existing code.Luke Leighton1999-10-261-0/+6
|
* adding extra parameter back in to trust account functions (trust account name).Luke Leighton1999-10-261-1/+7
| | | | restoring opening S-1-5-20 in sam enum users code.
* cut/paste code from smbclient for wait_keyboard() function. oops.Luke Leighton1999-10-261-2/+5
|
* - typecast malloc / Realloc issues.Luke Leighton1999-10-252-28/+29
| | | | - signed / unsigned issues.
* signed / unsigned and typecast issuesLuke Leighton1999-10-251-3/+3
|
* one of those wonderful moments when running against a different MSRPCLuke Leighton1999-10-253-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 Leighton1999-10-211-2/+4
|
* turning some of the rpcclient functions dynamic. this is likely toLuke Leighton1999-10-212-14/+18
| | | | break a few things...