summaryrefslogtreecommitdiff
path: root/source3/rpcclient
AgeCommit message (Collapse)AuthorFilesLines
1999-10-25one of those wonderful moments when running against a different MSRPCLuke Leighton2-9/+20
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)
1999-10-21the dynamic memory alloc blood-fest goes on...Luke Leighton3-18/+16
(This used to be commit 134b20e2a7b5ddfa4cc9bf100de5025c7b98f594)
1999-10-21turning some of the rpcclient functions dynamic. this is likely toLuke Leighton2-74/+119
break a few things... (This used to be commit 4b06f303235d36903b6e9f55ee45b987d98256b0)
1999-10-21various. debug levels changed. nmbd doesn't need libsmb/clienttrust.c.Luke Leighton2-4/+7
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)
1999-10-19need status codes from cli_net_req_chal() and cli_net_auth2().Luke Leighton1-2/+4
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)
1999-10-19oops, added wait_keyboard back, but _this_ time wrapped it withLuke Leighton1-1/+31
HAVE_READLINE (This used to be commit af05710d0b1b73929dee42bb0424c63c48e358f5)
1999-10-15removed unused static wait_keyboard()Luke Leighton1-30/+0
(This used to be commit 8cb6163b068812340a6360241d0ee9372c3dbec2)
1999-10-01splitting dom info into sam_query_dominfo functionLuke Leighton1-33/+55
(This used to be commit 39c367b8e9932f64fa774b807e14416f97254312)
1999-10-01permissions on SamrConnect changed to 0x02000000 (maximum allowed)Luke Leighton1-16/+16
(This used to be commit cbc646b1d8ce73d1d8167887cbfdab3cad4f11a4)
1999-10-01error-code checking in lsa_lookup_sids. anonymous connections forLuke Leighton2-17/+28
domain info. adjusting net_srv_get_info function. (This used to be commit 42eb916fae0d377f8908dfc42b332e6a53c4e2d9)
1999-09-21split matthew's sync command (only currently called from smbpasswd)Luke Leighton1-5/+13
into a separate module (This used to be commit d99eca020a255022dbc71f3671127343d75db59e)
1999-09-16reading in smb server domain name from SMBnegprot responseLuke Leighton1-2/+0
(This used to be commit 25025f450531c66c0fd9f7eed886cb288d76d025)
1999-09-14added rpcclient SamrQueryDisplayInfo command "dispinfo"Luke Leighton2-1/+89
(This used to be commit 6c98d6c9aae64016bfe7727cfe12762967eb5a84)
1999-09-12restructuringLuke Leighton1-55/+51
(This used to be commit 9d74161a9204da90d3024c2a86d59fefd516ff07)
1999-09-12using #define reportLuke Leighton1-85/+85
(This used to be commit 7fc2ee2f96b79e77039e141c2d2be9598465e5e6)
1999-09-12- initialising mach_passwd_file locks to zero (prev. uninit.)Luke Leighton1-21/+19
- 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)
1999-08-30debugged enumgroups -g optionLuke Leighton1-1/+1
(This used to be commit 1cde47ba6a6409e0ae178ca9f44be2123bef0f9d)
1999-08-30added call to samr_query_groupinfo in enumgroups command (-m option)Luke Leighton1-6/+39
(This used to be commit e2a72e2c64d6aad37d0c0f94d36f4fdadd3bd6cc)
1999-08-29improved "dominfo" rpcclient commandLuke Leighton3-4/+91
(This used to be commit 65a54b6e16c40ec40727547593154b341d98fc83)
1999-08-29added experimental del_groupmem and del_aliasmem commands that were notLuke Leighton2-27/+62
being called from rpcclient.c improved add_groupmem command, but cannot test it against nt non-pdc! (This used to be commit 7a383a2a021be1f0297e177b2c89130f1b37d440)
1999-08-18display of session enum infoLuke Leighton2-0/+203
(This used to be commit e0713cf9332e562d1b41a794b8044e05aeb2b937)
1999-08-18event log update, netsessenum, netconnenum update.Luke Leighton1-2/+2
(This used to be commit 819af560745b0bec7bfb9067dd9d9d6cfabb1555)
1999-08-18event log updateLuke Leighton1-7/+8
(This used to be commit bcc1212b07c71256fad93d82a996fa86b27db250)
1999-08-17added some usage info for rpcclient.Luke Leighton1-2/+4
(This used to be commit ec11bbaf54764e50687c96ce0979d7aeebe18cb0)
1999-08-03reverted jeremy's c++-like security descriptor modifications as theLuke Leighton2-24/+32
simplest method to get rpcclient's reggetsec command working. the buffers passed as arguments in do_reg_get_key_sec() do need to be locally allocated not dynamically allocated, as two calls to reg_get_key_sec() are needed. on the first, the server fills in the size of the security descriptor buffer needed. on the second, the server fills in the security descriptor buffer. (This used to be commit b2d9cbef6f65bb696df8d8f49aa0c240e0bb1f50)
1999-07-22BDC support.Matthew Chapman1-5/+8
(This used to be commit 05a2687b7c3a8c29ea4807b14f928213892509ec)
1999-07-21BDC support.Luke Leighton2-1/+98
(This used to be commit 2331aa32ab36c3ee5fd8cfbe972e57299939e33d)
1999-07-21use pstring for at command instead of fstringLuke Leighton1-6/+6
(This used to be commit 43d3d2336f0b3c3e332d5abc476223a45592f6c6)
1999-07-09Partial GNU readline support for rpcclient. Only command line historyTim Potter1-0/+119
and command completion implemented. (This used to be commit 795fa6a5185d9e245541a44a971a3fb588168c1e)
1999-06-29improving authentication code (tidyup).Luke Leighton1-0/+2
(This used to be commit ab1a6aa42db5217f025941fb5107436556bc23b7)
1999-06-24safe string error reporting functions (found a potential buffer overflowLuke Leighton1-2/+0
of a pstrcpy into an fstring). (This used to be commit ac0060443de800fec9042b69b299ff2e9128a31c)
1999-06-02Some more BDC-related fixes, mainly to the NET_SAM_SYNC RPC with respectMatthew Chapman1-22/+1
to alignment, missing fields, etc. - it should now work correctly. There is still the problem of decoding the private data field. (This used to be commit c3c25e762fbc30d5663323f23449c913f2ce4b0e)
1999-05-07had to move day display names into lib/util, to get rpctorture to compile.Luke Leighton1-2/+2
(This used to be commit 8c80742e4e5604bc667314e51c47924efd65df49)
1999-05-03last part of RPC api change.Jean-François Micouleau2-0/+77
and of rpcclient eventlog funtion Jean Francois (This used to be commit 7fc8659e83bf0269df297016beac6793ff0bdf32)
1999-05-03Added a new command to rpcclient: eventlog <log> where <log> is System,Jean-François Micouleau1-0/+94
Security or Application. That's a crude equivalent to the eventviewer. Jean Francois (This used to be commit 66b4b896fbcabb964a427d0c0aa2f57997e0f6bb)
1999-05-01Adding "time" rpcclient command which displays the remote time.Matthew Chapman4-20/+101
Also added special "now" time to the "at" command, e.g.: at now /i cmd ; pops up a command prompt (This used to be commit f456dcf08ec96c631f5e6f2e857115d4bbf94d1b)
1999-04-23New rpcclient command "at" for NT scheduler control, a slightly improvedMatthew Chapman3-0/+494
version of the NT command. at { time [/INTERACTIVE] [{/EVERY|/NEXT}:5,Sun,...] command | [/DEL] [jobid] } Examples (options used in abbreviated form): at ; Shows all jobs at 1 ; Detail on job 1 at /D ; Deletes all jobs at /D 1 ; Deletes job 1 at 11:11:11AM /I /N:1 d:\humour\silly.exe ; First of next month at 9:00AM /E:M,T,W,Th,F net send MATTY Hi ; Each weekday at 11:00PM /E c:\winnt\backup.exe ; Every day (This used to be commit cf8c476d2eec24c150877b6bb8af7f7875cc1840)
1999-04-11Fixed rpcclient's samuser command.Matthew Chapman1-37/+35
(This used to be commit 60a8b478ac6c96e6cc6f1f2a299ac2200e19fc6c)
1999-04-08Mainly BDC-related changes.Matthew Chapman3-2/+31
* Added SEC_CHAN_BDC * Propagate sec_chan into the various functions which change trust account passwords, so they can be used for domain control and inter-domain trusts. * Fix for endianness problem reported by Edan Idzerda <edan@mtu.edu>. A BUFFER2 is really a "unibuf" in my terminology and we should treat it as such. * Added some more common NT structures (BIGINT, BUFHDR2, BUFFER4). * Added NET_SAM_SYNC (-> NetDatabaseSync2) RPC for account replication. Still experimental and incomplete, with a few too many NULL security descriptors lying around (must go look at Jeremy's SD code). Haven't worked out password encryption yet either. However, the XXX_INFO structures I've added to rpc_netlogon.h are quite nice as they give some insight into how these objects are stored in the SAM. (This used to be commit 7b830350eb54dc9d357c115e12ddf9a0633527ac)
1999-03-19added a "createuser" command.Luke Leighton2-27/+115
(This used to be commit fefb4bf19181714cb73414febd6ee2ec10356cbe)
1999-03-19querysecret now shows the real, fairdinkum, decrypted secret :-)Matthew Chapman1-8/+10
(This used to be commit 5951e16a1134a559abefdd400e7a17627338f368)
1999-03-18double-checked the return results from new querysecret command, correctedLuke Leighton1-2/+2
my corrections :) (This used to be commit 082109369b981713f68c13053b6419686f69ef26)
1999-03-18matt,Luke Leighton1-1/+1
remember: only close handles that you've previously opened. if the lsa_open_secret() succeeds then and only then can you close it. if the lsa_open_policy2() succeeds then and only then can you close it. (This used to be commit 60da0a12555a2e12e27ff2af24e1068a515469c0)
1999-03-18Adding LSA_OPENSECRET (-> LsarOpenSecret) and LSA_QUERYSECRETMatthew Chapman2-0/+70
(-> LsarQuerySecret) on client side, including rpcclient command "querysecret" for others to play with. The major obstacle is working out the encryption algorithm used for the secret value. It definitely uses the NT hash as part of the key, and it seems the block size is 64 bits - probably DES based - but I can't work out what's done in between. Help required. (This used to be commit 365fa3b5fbf551670acc91f593138a7e91a5f7fa)
1999-03-12new "domtrust" test command. r&d into inter-domain trust accounts.Luke Leighton2-1/+44
(This used to be commit 65b0abe8b7594ff6c662da86dc2e35bd83a2d13d)
1999-03-09reverted access control flags in enum commands.Luke Leighton1-3/+3
(This used to be commit 97a0b24955b45e434e34510f65afdde7bfdf3183)
1999-03-08- todd sabin spotted bugs in samr enum dom users / groups / aliases code:Luke Leighton1-125/+156
last count (probably an ENUM / resume handle) should always be returned even if there are no items being returned. - got fed up of seven intendation levels in cmd_samr.c, maximum recommended in *any* code is three! made some sub-fns instead. (This used to be commit 1c330d568225759950401cfb98fe9e99db81419c)
1999-03-08oops, accidentally committed clear-text password reading last week.Luke Leighton1-1/+1
(This used to be commit e0b5a866ce2628a5e152af3ef817ee3124e60500)
1999-03-01improving syntax / useability of rpcclient "shutdown" command:Luke Leighton2-10/+26
rpcclient [-m messsage] [-t timeout] [-r or --reboot]. (This used to be commit 8b859797aaa1b88cb1a932fed97b4c3ea2dbdde2)
1999-02-24Added "lookupdomain" rpcclient command. Not particularly useful currentlyMatthew Chapman1-0/+1
(you can do "lookupdomain MYDOMAIN" and "lookupdomain BUILTIN" and the results won't be too surprising), but it will come in useful testing the new password database code I'm working on. (This used to be commit d1cc33bcb61305cc9a6e21886237fa291eda9427)