summaryrefslogtreecommitdiffstats
path: root/source/rpc_parse
Commit message (Collapse)AuthorAgeFilesLines
* damn, that took a while. nt login password was being stored incorrectlyLuke Leighton1999-12-012-8/+9
| | | | in private .mac file (oops). ntlogin test now works.
* fixing joining to domain plus something weird going down with nt logins...Luke Leighton1999-12-011-1/+1
|
* improving createuser account command to be able to add workstationsLuke Leighton1999-12-011-8/+11
| | | | and then set a default random password.
* first attempt at getting \PIPE\NETLOGON working. it's pretty horrible.Luke Leighton1999-11-292-10/+38
|
* well, i stuffed up the spooler commands.Luke Leighton1999-11-271-7/+7
|
* this one's a handle-based one (missed in the first round).Luke Leighton1999-11-271-1/+1
|
* cool! completed a samr* API that _would_ look like an msdn samr* api...Luke Leighton1999-11-251-0/+20
| | | | | | if microsoft bothered to publish it. actually, there are good reasons for not publishing it: people might write programs for it, and then those programs wouldn't work on nt5, for example...
* registry API moved over to new format. reg_connect() is the top-levelLuke Leighton1999-11-241-1/+1
| | | | | | function, which takes \\server_name. tested a _few_ functions. found that regcreatekey receives a Fault PDU.
* service control manager API completed. svcenum -i works, but does notLuke Leighton1999-11-241-1/+1
| | | | do so twice. possible memory corruption, revolving around getopt().
* rewrote policy handle code to be generic (it's needed for client-side too)Luke Leighton1999-11-242-6/+9
| | | | attempted to fix regsetsec command
* attempted a svcset command. password is encrypted / messed up, thereforeLuke Leighton1999-11-232-138/+93
| | | | command fails.
* adding svcctl 0x1b functionLuke Leighton1999-11-231-0/+179
|
* shuffling msrpc code around so that it can be used independently of rpcclientLuke Leighton1999-11-231-2/+2
|
* dynamic memory allocation i added a month ago: forgot to ZERO_STRUCT()Luke Leighton1999-11-201-0/+2
| | | | | | | | | some of the server-side stuff. Realloc() was being used, so it Realloc()d some random area of memory. oops.dynamic memory allocation i added a month ago: forgot to ZERO_STRUCT() some of the server-side stuff. Realloc() was being used, so it Realloc()d some random area of memory. oops.dynamic memory allocation i added a month ago: forgot to ZERO_STRUCT() some of the server-side stuff. Realloc() was being used, so it Realloc()d some random area of memory. oops.
* nt5rc2 falling over because the LsaQueryInfoPolicy() response _must_Luke Leighton1999-11-191-0/+1
| | | | | | | | | | | have the string max length = string length + 1. if not, then it gets its knickers in a twist over whether the string is NULL-terminated or not. four days. four days i spent on this one.
* - surprise! the number of UNICODE strings that didn't have alignmentLuke Leighton1999-11-191-0/+20
| | | | after them is incredible. how did we get away with this for so long?
* added \PIPE\browser plus experimental brsinfo command. you wouldn'tLuke Leighton1999-11-192-0/+191
| | | | | believe the XXXX that MIGHT be involved in getting nt5rc2 to join a samba domain...
* added samuserset2 rpcclient command to test ACB_XXX bit-setting onLuke Leighton1999-11-181-3/+158
| | | | | 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-181-16/+20
| | | | a char*. now copes with multiple types.
* added regqueryval command (experimental) to get reg_io_q_info() andLuke Leighton1999-11-181-63/+60
| | | | | | | | 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-163-23/+40
| | | | | | | | 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-4/+4
| | | | | | | 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-0/+60
| | | | happier in joining a Samba domain.
* added server-side samr enum domains. fixed some parsing issues, server-side.Luke Leighton1999-11-151-15/+7
|
* added rpcclient "enumdomains" command. enumerates names of domainsLuke Leighton1999-11-151-0/+160
| | | | | | | | 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-151-0/+16
| | | | | | | | | - 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-091-76/+83
| | | | | 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-081-86/+192
| | | | spoolss_enumjobs parsing code to do read / writes not just writes.
* const feeding frenzyLuke Leighton1999-11-082-10/+11
|
* missed mem_grow_data callLuke Leighton1999-11-061-0/+2
|
* fixed string function for reading in printer_info_N.Luke Leighton1999-11-061-10/+27
|
* added rpcclient spoolenum command. enumerates printers.Luke Leighton1999-11-061-47/+141
| | | | | | 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-061-40/+52
| | | | | | | 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-051-27/+128
|
* samuserset <username> -p password. YESSSSS :)Luke Leighton1999-11-041-57/+190
| | | | 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-041-14/+31
| | | | error wrong password against nt. ????
* created msrpc_srv_enum_tprt() function by massaging cmd_srv_enum_tprt().Luke Leighton1999-11-032-6/+7
|
* dynamic mem allocation in net_srv_transport_enum() parsing.Luke Leighton1999-11-031-4/+60
|
* had to move unistr2_dup(), unistr2_free() and unistr2_copy() intoLuke Leighton1999-11-031-34/+0
| | | | util_unistr.c in order to get bin/testparm to compile.
* three types of array-creation / array-deletion functions:Luke Leighton1999-11-031-1/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 :-)
* dynamic mem allocation in enum dom groups and enum dom aliasesLuke Leighton1999-11-021-42/+83
|
* const char* issuesLuke Leighton1999-11-011-2/+4
|
* added lsaenumdomains command.Luke Leighton1999-11-011-12/+42
| | | | | 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.
* added rpcclient svcstop <service name> command. gnu readlineLuke Leighton1999-11-011-1/+58
| | | | command-completion works.
* added yet another rpcclient command: svcstart <service name> [arg0] [arg1] ...Luke Leighton1999-10-311-4/+36
| | | | | | | | | 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-311-1/+6
|
* NetServerTransportEnum parsing, client-side and rpcclient "srvtransports" added.Luke Leighton1999-10-303-13/+285
|
* more reshuffling of enum groups code. more higher order functions.Luke Leighton1999-10-291-3/+4
|
* added HKEY_CLASSES_ROOT MSRPC open call. reg_open_hkcr etc. supportedLuke Leighton1999-10-291-0/+58
| | | | in rpcclient, regenum HKEY_CLASSES_ROOT or regenum HKCR to test.
* - typecast malloc / Realloc issues.Luke Leighton1999-10-257-56/+59
| | | | - signed / unsigned issues.