summaryrefslogtreecommitdiffstats
path: root/source/rpcclient
Commit message (Collapse)AuthorAgeFilesLines
...
* various. debug levels changed. nmbd doesn't need libsmb/clienttrust.c.Luke Leighton1999-10-212-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).
* need status codes from cli_net_req_chal() and cli_net_auth2().Luke Leighton1999-10-191-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 :)
* oops, added wait_keyboard back, but _this_ time wrapped it withLuke Leighton1999-10-191-1/+31
| | | | HAVE_READLINE
* removed unused static wait_keyboard()Luke Leighton1999-10-151-30/+0
|
* splitting dom info into sam_query_dominfo functionLuke Leighton1999-10-011-33/+55
|
* permissions on SamrConnect changed to 0x02000000 (maximum allowed)Luke Leighton1999-10-011-16/+16
|
* error-code checking in lsa_lookup_sids. anonymous connections forLuke Leighton1999-10-012-17/+28
| | | | domain info. adjusting net_srv_get_info function.
* split matthew's sync command (only currently called from smbpasswd)Luke Leighton1999-09-211-5/+13
| | | | into a separate module
* reading in smb server domain name from SMBnegprot responseLuke Leighton1999-09-161-2/+0
|
* added rpcclient SamrQueryDisplayInfo command "dispinfo"Luke Leighton1999-09-142-1/+89
|
* restructuringLuke Leighton1999-09-121-55/+51
|
* using #define reportLuke Leighton1999-09-121-85/+85
|
* - initialising mach_passwd_file locks to zero (prev. uninit.)Luke Leighton1999-09-121-21/+19
| | | | | | | - cleanup - #defined report to sprintf as it's #defined to another function in other uses of cmd_lsarpc.c
* debugged enumgroups -g optionLuke Leighton1999-08-301-1/+1
|
* added call to samr_query_groupinfo in enumgroups command (-m option)Luke Leighton1999-08-301-6/+39
|
* improved "dominfo" rpcclient commandLuke Leighton1999-08-293-4/+91
|
* added experimental del_groupmem and del_aliasmem commands that were notLuke Leighton1999-08-292-27/+62
| | | | | | being called from rpcclient.c improved add_groupmem command, but cannot test it against nt non-pdc!
* display of session enum infoLuke Leighton1999-08-182-0/+203
|
* event log update, netsessenum, netconnenum update.Luke Leighton1999-08-181-2/+2
|
* event log updateLuke Leighton1999-08-181-7/+8
|
* added some usage info for rpcclient.Luke Leighton1999-08-171-2/+4
|
* reverted jeremy's c++-like security descriptor modifications as theLuke Leighton1999-08-032-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.
* BDC support.Matthew Chapman1999-07-221-5/+8
|
* BDC support.Luke Leighton1999-07-212-1/+98
|
* use pstring for at command instead of fstringLuke Leighton1999-07-211-6/+6
|
* Partial GNU readline support for rpcclient. Only command line historyTim Potter1999-07-091-0/+119
| | | | and command completion implemented.
* improving authentication code (tidyup).Luke Leighton1999-06-291-0/+2
|
* safe string error reporting functions (found a potential buffer overflowLuke Leighton1999-06-241-2/+0
| | | | of a pstrcpy into an fstring).
* Some more BDC-related fixes, mainly to the NET_SAM_SYNC RPC with respectMatthew Chapman1999-06-021-22/+1
| | | | | to alignment, missing fields, etc. - it should now work correctly. There is still the problem of decoding the private data field.
* had to move day display names into lib/util, to get rpctorture to compile.Luke Leighton1999-05-071-2/+2
|
* last part of RPC api change.Jean-François Micouleau1999-05-032-0/+77
| | | | | | and of rpcclient eventlog funtion Jean Francois
* Added a new command to rpcclient: eventlog <log> where <log> is System,Jean-François Micouleau1999-05-031-0/+94
| | | | | | Security or Application. That's a crude equivalent to the eventviewer. Jean Francois
* Adding "time" rpcclient command which displays the remote time.Matthew Chapman1999-05-014-20/+101
| | | | | Also added special "now" time to the "at" command, e.g.: at now /i cmd ; pops up a command prompt
* New rpcclient command "at" for NT scheduler control, a slightly improvedMatthew Chapman1999-04-233-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
* Fixed rpcclient's samuser command.Matthew Chapman1999-04-111-37/+35
|
* Mainly BDC-related changes.Matthew Chapman1999-04-083-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.
* added a "createuser" command.Luke Leighton1999-03-192-27/+115
|
* querysecret now shows the real, fairdinkum, decrypted secret :-)Matthew Chapman1999-03-191-8/+10
|
* double-checked the return results from new querysecret command, correctedLuke Leighton1999-03-181-2/+2
| | | | my corrections :)
* matt,Luke Leighton1999-03-181-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.
* Adding LSA_OPENSECRET (-> LsarOpenSecret) and LSA_QUERYSECRETMatthew Chapman1999-03-182-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.
* new "domtrust" test command. r&d into inter-domain trust accounts.Luke Leighton1999-03-122-1/+44
|
* reverted access control flags in enum commands.Luke Leighton1999-03-091-3/+3
|
* - todd sabin spotted bugs in samr enum dom users / groups / aliases code:Luke Leighton1999-03-081-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.
* oops, accidentally committed clear-text password reading last week.Luke Leighton1999-03-081-1/+1
|
* improving syntax / useability of rpcclient "shutdown" command:Luke Leighton1999-03-012-10/+26
| | | | rpcclient [-m messsage] [-t timeout] [-r or --reboot].
* Added "lookupdomain" rpcclient command. Not particularly useful currentlyMatthew Chapman1999-02-241-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.
* Win9x user level security.Matthew Chapman1999-02-241-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.
* added jeremy's new c++-like code for parsing of security descriptors.Luke Leighton1999-02-232-32/+24
|
* rpcclient shutdown commandLuke Leighton1999-02-162-0/+46
|