summaryrefslogtreecommitdiffstats
path: root/source3/include
Commit message (Collapse)AuthorAgeFilesLines
* 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. (This used to be commit 135eaa977385cdd5f572a51f654f14d893347d7b)
* 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. (This used to be commit ef7fa58fd3c259c765c3bc82424d4c0f192ec90e)
* experimental spoolss rpcclient commandsLuke Leighton1999-11-052-12/+43
| | | | (This used to be commit c86edef90e7c96d5a99be29e2d2a3679ed26d97d)
* 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). (This used to be commit f52504c553becc64b89d546a57b1bd9cf1bc5b5c)
* adding experimental set user password command to rpcclient, it returnsLuke Leighton1999-11-042-2/+13
| | | | | error wrong password against nt. ???? (This used to be commit b3f16e6b5aa5ba1b6afa38ad698646c8e765ec90)
* created msrpc_srv_enum_tprt() function by massaging cmd_srv_enum_tprt().Luke Leighton1999-11-032-8/+15
| | | | (This used to be commit 3f9455c535607090103a371ff96051a5ce32e461)
* dynamic mem allocation in net_srv_transport_enum() parsing.Luke Leighton1999-11-032-5/+7
| | | | (This used to be commit 6b919ebb4ed8c0082d8bffb299766bff9e718faf)
* 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 :-) (This used to be commit a80ea2eb47d298095eb6e5b0455309daa3a631cb)
* 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). (This used to be commit 0c700fb609adf80cb3191f2976c6d56088d81232)
* dynamic mem allocation in enum dom groups and enum dom aliasesLuke Leighton1999-11-023-9/+8
| | | | (This used to be commit baa789fabc45e62889755802fd8ec8c9191fe767)
* const char* issuesLuke Leighton1999-11-011-2/+4
| | | | (This used to be commit 11ecec8457a51588a1b55b7f35dec28fe94c0594)
* 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. (This used to be commit 953fe6ba9454fa4b8e69426527eca37b011f76ac)
* rewrote rpcclient enumaliases command.Luke Leighton1999-11-012-6/+34
| | | | (This used to be commit 492fdaaf2009e7d7e840323357a333fdf9c4d2e1)
* added rpcclient svcstop <service name> command. gnu readlineLuke Leighton1999-11-012-0/+32
| | | | | command-completion works. (This used to be commit 926fe6273a8cd9550838ecdfca276f915c92031b)
* 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... (This used to be commit 2903f22e7ed9306229035accfa757fd810645820)
* added svcinfo <service name> command.Luke Leighton1999-10-312-2/+16
| | | | (This used to be commit c243231d8596a732aba69179ff8f3882e7118297)
* NetServerTransportEnum parsing, client-side and rpcclient "srvtransports" added.Luke Leighton1999-10-302-10/+119
| | | | (This used to be commit 37f4aac06fec3fbb34ed40d1010829b2e1f28558)
* 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]) (This used to be commit bc5d021916a2f070c62011870a80b3b2707aff3b)
* added gnu readline command-line completion to the regenum command.Luke Leighton1999-10-291-1/+2
| | | | (This used to be commit 50890516fdefe6db6cdadbf5b7a487aadf7796ec)
* rpcclient regenum key client code rewritten to use higher order functions.Luke Leighton1999-10-293-10/+17
| | | | (This used to be commit 6a759c57dcb851aa19d1d4156249a3df112aefd0)
* rewrite rpcclient sam enum user code to use higher order functions.Luke Leighton1999-10-292-4/+13
| | | | (This used to be commit b794ff213009fbcf6a4767e3361501291cdc065d)
* using #defines for function prototypesLuke Leighton1999-10-292-3/+11
| | | | (This used to be commit 4a44cccf4401e0ce01303459011ac64805c53561)
* more reshuffling of enum groups code. more higher order functions.Luke Leighton1999-10-292-4/+9
| | | | (This used to be commit 497d4231723576390b10f5ea8704bd0af88d76ab)
* 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. (This used to be commit b0aa933ef4c0b58840430cf3b3cb3cbeb5c7f704)
* 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). (This used to be commit 8d181924cedb7a2d34a0b40cee600494665fe923)
* restructuring samr client code.Luke Leighton1999-10-281-2/+9
| | | | (This used to be commit a78607b5dbf0fca6a22ab41195f465474578ee39)
* removed samr_* variables from info struct.Luke Leighton1999-10-282-11/+6
| | | | (This used to be commit 4d5b860802528a9d74c2722dc996d6d8fd0b51ef)
* rewrote samr enum groups code a bit.Luke Leighton1999-10-281-0/+3
| | | | (This used to be commit 3f99ab77203da2eb80b7cedbda88cb03640d427b)
* created samr_query_groupmem() function from existing code.Luke Leighton1999-10-261-0/+6
| | | | (This used to be commit d2d5a853f8f34a0c3d5920540beb971a33f5276e)
* 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. (This used to be commit 1be877114e2e958c59e6516dacf22d3fb5a4240f)
* cut/paste code from smbclient for wait_keyboard() function. oops.Luke Leighton1999-10-261-2/+5
| | | | (This used to be commit c25560ba43bd1b53d79456cbceab954aa3bb1dac)
* - typecast malloc / Realloc issues.Luke Leighton1999-10-252-28/+29
| | | | | - signed / unsigned issues. (This used to be commit c8fd555179314baf1672a23db34dc8ad9f2d02bf)
* signed / unsigned and typecast issuesLuke Leighton1999-10-251-3/+3
| | | | (This used to be commit 6e22bf912cb981d91834c63098d41f5f8abaa594)
* 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. (This used to be commit 19490d8b4fb8a103f3df4e6104f6f22937b0c518)
* the dynamic memory alloc blood-fest goes on...Luke Leighton1999-10-211-2/+4
| | | | (This used to be commit 134b20e2a7b5ddfa4cc9bf100de5025c7b98f594)
* turning some of the rpcclient functions dynamic. this is likely toLuke Leighton1999-10-212-14/+18
| | | | | break a few things... (This used to be commit 4b06f303235d36903b6e9f55ee45b987d98256b0)
* various. debug levels changed. nmbd doesn't need libsmb/clienttrust.c.Luke Leighton1999-10-212-8/+13
| | | | | | | | 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). (This used to be commit 8976eca2db43576c32069dcda017e8777048e007)
* use DEBUGADD instead of DEBUG: clears up some of the more verbose trash.Luke Leighton1999-10-211-3/+3
| | | | (This used to be commit 63431997eefb785d0c9fd357f6e58441b7e1733d)
* need status codes from cli_net_req_chal() and cli_net_auth2().Luke Leighton1999-10-191-5/+9
| | | | | | | 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 :) (This used to be commit 02f240604241367f146b26934ad1a1b2563430de)
* adding error checking in parsing codeLuke Leighton1999-10-153-22/+91
| | | | (This used to be commit 4c98d71ebd3f1cdaef664d46c998c864af34632a)
* return results on prs_xxxxx() and all xxx_io_xxx() routines.Luke Leighton1999-10-152-579/+616
| | | | | | | | the whole task is not complete, yet. xxx_io_xxx() routines that _call_ xxx_io_xxx() routines not done. prs_xxxx() covered by macros. considering doing xxx_io_xxxx in the same way. (This used to be commit 3b583f7be51434af98bc52b48dfa42c4602a3094)
* - added rudimentary CAP_UNICODE support because i thought it was part ofLuke Leighton1999-10-072-13/+26
| | | | | | | | | | | | | | | | | | a problem i was having. - added rudimentary CAP_STATUS32 support for same reason. - added hard-coded, copy-the-same-data-from-over-the-wire version of CAP_EXTENDED_SECURITY, which is a security-blob to encapsulate GSSAPI which encodes SPNEGO which is used to negotiate Kerberos or NTLMSSP. i have implemented NTLMSSP which negotiates NTLMv1 or NTLMv2 and 40-bit or 128-bit etc. i have implemented NTLMv1 / 40-bit. *whew*. (This used to be commit e5b80bd2f76fda70e41e4a9007eb035dab92ed8e)
* splitting dom info into sam_query_dominfo functionLuke Leighton1999-10-011-0/+2
| | | | (This used to be commit 39c367b8e9932f64fa774b807e14416f97254312)
* error-code checking in lsa_lookup_sids. anonymous connections forLuke Leighton1999-10-011-0/+3
| | | | | domain info. adjusting net_srv_get_info function. (This used to be commit 42eb916fae0d377f8908dfc42b332e6a53c4e2d9)
* don't leak printer handles,Jean-François Micouleau1999-09-271-1/+1
| | | | | | | | don't coredump when adding forms, and a small non obvious memory leak in the rpc buffers J.F. (This used to be commit bee11f8889378b9f1cc6e2818fd0f8dd7ddcf10d)
* split matthew's sync command (only currently called from smbpasswd)Luke Leighton1999-09-211-1/+4
| | | | | into a separate module (This used to be commit d99eca020a255022dbc71f3671127343d75db59e)
* testing for attempts to get more info levels into samr_query_userinfoLuke Leighton1999-09-212-2/+10
| | | | (This used to be commit cc19d5cc5c20665beb3b7c5fcf7787d54e37ea71)
* #defines for port 445 to SMB_PORT2Luke Leighton1999-09-151-0/+1
| | | | (This used to be commit a8d4560e0064a67a234eae89a564b79d2426d9a9)
* oops.Luke Leighton1999-09-141-6/+9
| | | | (This used to be commit 5c551e63f22e341e1d7be547f7d14d24234ecf27)
* - initialising mach_passwd_file locks to zero (prev. uninit.)Luke Leighton1999-09-121-0/+2
| | | | | | | | - cleanup - #defined report to sprintf as it's #defined to another function in other uses of cmd_lsarpc.c (This used to be commit 8fb2ff247a2fe0ec5ce0c232d8a3da9774f7e6ae)