summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* yodl updateLuke Leighton1999-11-204-32/+156
|
* oops.Luke Leighton1999-11-201-1/+1
|
* adding some command descriptions behind the rpcclient commands.Luke Leighton1999-11-201-14/+75
|
* yodl update - rpcclientLuke Leighton1999-11-199-16/+2065
|
* added an rpcclient man page. wow!Luke Leighton1999-11-193-5/+789
|
* nt5rc2 falling over because the LsaQueryInfoPolicy() response _must_Luke Leighton1999-11-193-2/+5
| | | | | | | | | | | 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.
* The First Necessary UNICODE String Support.Luke Leighton1999-11-193-32/+83
| | | | | | | | | the random workstation trust account password is TOTAL garbage. i mean, complete garbage. it's nowhere CLOSE to being a UNICODE string. therefore we can't just take every second character. created nt_owf_genW() which creates NT#(password) instead of NT#(Unicode(pw)). followed through to the password setting in srv_samr.c
* - 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?
* - bug in nmbd registering DOMAIN_NAME<1c> to WINS server; recursionLuke Leighton1999-11-197-8/+124
| | | | | | | | desired flag MUST be set in any NBT UDP packets sent to a WINS server, else they will go to the WINS client side of the NT NetBIOS kernel instead, and will get trashed. - added \PIPE\browser server-side code.
* added \PIPE\browser plus experimental brsinfo command. you wouldn'tLuke Leighton1999-11-1910-2/+491
| | | | | believe the XXXX that MIGHT be involved in getting nt5rc2 to join a samba domain...
* responses to UDP samquery go back to SERVER<00> not DOMAIN<1c>, theLuke Leighton1999-11-184-14/+24
| | | | | | | request name. modified createuser rpcclient command to examine name being added. if it ends in a $, assume that a workstation trust account is being added.
* set "key does not exist" response to reg_query_val() (win32 status codeLuke Leighton1999-11-185-10/+70
| | | | of 0x2). [p.s. getting REALLY bored of this nt5rc2->samba domain stuff].
* added samuserset2 rpcclient command to test ACB_XXX bit-setting onLuke Leighton1999-11-187-11/+571
| | | | | 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-186-46/+55
| | | | a char*. now copes with multiple types.
* added regqueryval command (experimental) to get reg_io_q_info() andLuke Leighton1999-11-1812-124/+262
| | | | | | | | 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-169-43/+101
| | | | | | | | 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-165-8/+50
| | | | | | | 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.
* added another dummy key so that NT5 can check in the registry whetherLuke Leighton1999-11-161-1/+2
| | | | password changes are allowed or not. *dur*!!!!
* oops, mistake in parsing command-arguments. repeated calls toLuke Leighton1999-11-161-1/+1
| | | | next_token() should not have line to parse as first arg. oops.
* Shirish Kalele <kalele@veritas.com> noticed that NT workstations areLuke Leighton1999-11-161-18/+51
| | | | | sending anonymous NTLMSSP user credentials to set up \PIPE\samr. added anonymous NTLMSSP sessions.
* Changes to implement NET_AUTH based on NET_AUTH2, to get Win2000Richard Sharpe1999-11-163-4/+151
| | | | happier in joining a Samba domain.
* added server-side samr enum domains. fixed some parsing issues, server-side.Luke Leighton1999-11-154-16/+90
|
* added rpcclient "enumdomains" command. enumerates names of domainsLuke Leighton1999-11-157-1/+457
| | | | | | | | 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-1511-16/+152
| | | | | | | | | - 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.
* split array-handling functions into separate module.Luke Leighton1999-11-123-224/+249
|
* debugging rpcclient spoolenum and spooljobs commands. oh, did i forgetLuke Leighton1999-11-0910-103/+580
| | | | | to mention, there's a spooljobs <printer name> command, and it uses command-line completion? prints out NT print jobs really nicely, too.
* riccardo sibilia spotted line 1884 has uint32 group_rid[0] not group_rid[1]Luke Leighton1999-11-091-1/+1
| | | | oops!
* preparation for doing a spoolss enum jobs command. had to rewriteLuke Leighton1999-11-086-187/+310
| | | | spoolss_enumjobs parsing code to do read / writes not just writes.
* const feeding frenzyLuke Leighton1999-11-0813-556/+662
|
* const feeding frenzyLuke Leighton1999-11-082-74/+76
|
* Fixed typo in automatic printer install share name.Tim Potter1999-11-081-2/+1
| | | | | Removed confusing 'writeable = no' parameter from example [printers] entry.
* horrible code to do SMBwriteX / SMBreadX for large MSRPC reads. ARGH!Luke Leighton1999-11-062-94/+128
|
* missed mem_grow_data callLuke Leighton1999-11-062-1/+3
|
* added command-completion printer enum code.Luke Leighton1999-11-065-19/+91
|
* fixed string function for reading in printer_info_N.Luke Leighton1999-11-064-15/+240
|
* added rpcclient spoolenum command. enumerates printers.Luke Leighton1999-11-069-68/+364
| | | | | | 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-068-108/+370
| | | | | | | 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-056-40/+196
|
* This is an experimental program to shutdown a group of NTws in aLuke Leighton1999-11-051-0/+259
| | | | | | | Samba domain via rpcclient. Copyright (c) David Bannon 1999 David Bannon, D.Bannon@latrobe.edu.au, 4th November, 1999
* rpcclient example scripts / programs.Luke Leighton1999-11-051-0/+11
|
* 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
|