summaryrefslogtreecommitdiff
path: root/source3/rpcclient
AgeCommit message (Collapse)AuthorFilesLines
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)
1999-02-24Win9x user level security.Matthew Chapman1-41/+97
* Added SAMR_LOOKUP_DOMAIN (-> SamrLookupDomainInSamServer) * Added real SAMR_ENUM_DOM_GROUPS (corresponding to SamrEnumerateGroupsInDomain). The existing one is just an alias for SamrQueryDisplayInformation (see below). * Added three extra info levels to SAMR_QUERY_DISPINFO. Info level 3 is what was previously SAMR_ENUM_DOM_GROUPS; info levels 4 and 5 are simple user/group list requests used by Win9x and I suspect (haven't checked) the "low speed connection" User Manager. * Added another two aliases for SAMR_QUERY_DISPINFO, opcodes 0x30 and 0x33. Usually the first is with info level 3 and the second 4 but there is some overlap so indeed these should be implemented as just aliases. * Return ERRDOS/ERRmoredata on extra data instead of STATUS_BUFFER_OVERFLOW for Win95's benefit. On a named pipe this results in an SMBreadX as usual. Still need to fix SAMR_QUERY_DOMAIN_INFO which has a hard-coded number of users and groups - which Win95 proceeds to truncate at. (This used to be commit 7d03e6e21908f3a759a4e65c5edd850622335e3e)
1999-02-23added jeremy's new c++-like code for parsing of security descriptors.Luke Leighton2-32/+24
(This used to be commit ec1b7000fd88c5a08e438c7033f60e49b9ec44a8)
1999-02-16rpcclient shutdown commandLuke Leighton2-0/+46
(This used to be commit 59f081069a58f6a070ed6016c06153d5e695da93)
1999-02-16bitmap to stringsLuke Leighton1-16/+14
(This used to be commit ba5919bcaefa792bae503c7ab19d4b7bbf9bb954)
1999-02-15Always null-terminate strings.Matthew Chapman2-35/+35
Also some string length and sizeof(pointer) corrections. (This used to be commit ce24191939b82985d09eabe945199f38b0fea486)
1999-02-12Cut and paste error.Matthew Chapman1-9/+9
(This used to be commit 9ea91d89d2a1baa67f5143ecc08eb60c93213242)
1999-02-12UNICODE cleanup (see lib/util_unistr.c).Matthew Chapman2-36/+86
No more ugly static library buffers and all functions take a destination string length (especially unistrcpy was rather dangerous; we were only saved by the fact that datagrams are limited in size). (This used to be commit a1d39af1ce1d451b811dbd7c2ba391214851b87e)
1999-02-11enum dom users buffer was 0x80 not 0x8000. must fix "enumeration" codeLuke Leighton1-1/+1
as you need to make multiple enum dom users calls. (This used to be commit b5396d3c6de4b8cb0e981bab10367e5838f78a53)
1999-02-11uninitialised pointer being freed if lookupnames failed. oops.Luke Leighton1-1/+1
(This used to be commit d77de868588b6291353fa7a426b6e5da4b5f2c49)
1999-02-09removal of the use of unistrn2 function: replace it with unistr2_to_strLuke Leighton1-25/+25
which is more appropriate. (This used to be commit ac72fe1ab3d10f64a5945ccbd4ed3817e30f9f7b)