summaryrefslogtreecommitdiff
path: root/source3/rpcclient/rpcclient.c
AgeCommit message (Collapse)AuthorFilesLines
2002-09-05The new popt_common_debug code obviates the need to muck around withTim Potter1-10/+2
AllowDebugChange, saving the debuglevel across lp_load() calls etc. (This used to be commit 561204905b78323fd0a03cc7ec5c9dbb2295bd5b)
2002-09-04remove inet_aton()Gerald Carter1-1/+1
(This used to be commit a7616b2b942eaf3be4e16fb9d38cdb42d8b95a94)
2002-08-29Forgot to remove old usage() functionJelmer Vernooij1-27/+5
(This used to be commit 4631e1fd1039c7eed58d3738bd7310219acc9000)
2002-08-29Use popt for printing --help messageJelmer Vernooij1-11/+9
(This used to be commit 355d28d9eae2fd4b94bb591c5c51cad2fab9d2fd)
2002-07-29Use common popt definition for -d option.Tim Potter1-7/+1
(This used to be commit 8c17904848a6206ab35652625ff5f3afcf6bcb0d)
2002-07-20If we can't connect, make sure its a level 0 so we see it, and the reason.Andrew Bartlett1-1/+1
(This used to be commit 6129718bea458ceb7669ecabc8cf0c8f908c7074)
2002-07-09Added -I option to rpcclient.Tim Potter1-12/+20
(This used to be commit 2674adf1b5c54da03e8a445ec1e12d382294d1c1)
2002-07-01used findstatic.pl to make some variables static and remove some deadAndrew Tridgell1-1/+1
code (This used to be commit 91ad9041e9507d36eb3f40c23c5d4df61f139ef0)
2002-06-25Update cli_full_connection() to take a 'flags' paramater, and try to get aAndrew Bartlett1-1/+1
few more places to use it. Andrew Bartlett (This used to be commit 23689b0746d5ab030d8693abf71dd2e80ec1d7c7)
2002-05-24Remove the password length paramater from cli_full_connection - it reallyAndrew Bartlett1-1/+1
didn't make any sense, and its was always just strlen(password) anyway. This fixes it to be strlen(password)+1 Andrew Bartlett (This used to be commit c205b18bd6b9b69200ff3db55f2c641631d4ab40)
2002-05-07Fixed compile warning.Tim Potter1-1/+2
(This used to be commit 671607a3eefc58673bdd4cb8fc8d3a3f65542f03)
2002-04-17Fixed command line argument parsing.Tim Potter1-70/+54
(This used to be commit 28c1fae4d89399ec4d15bfb3ccd17d8b5b0495fc)
2002-04-16merges from SAMBA_2_2Gerald Carter1-44/+61
(This used to be commit 91929afbb0cad422cc6d05f9a10ba5c3d797d779)
2002-04-14Fixed comment.Tim Potter1-1/+1
(This used to be commit 06df6c79ae91cb4b1427a2a230fee288cff50e10)
2002-04-04Free popt context after argument parsing.Tim Potter1-0/+2
(This used to be commit f287f62962feca6dac8747d16676dc64723eb5b1)
2002-04-02added "list <pipe>" command to display the available commandsGerald Carter1-0/+45
one a single pipe (This used to be commit b73a8416d31c0ec7975ba022f5c425a581497b72)
2002-03-17Renamed get_nt_error_msg() to nt_errstr().Tim Potter1-3/+3
(This used to be commit 1f007d3ed41c1b71a89fa6be7d173e67e927c302)
2002-03-08One more fix to get popt to work for some compilers...this is the downside ↵Jim McDonough1-15/+22
to popt. Every option has to be in fixed storage. (This used to be commit e5e7132e80bfe599d56809bf47a13d2028ee9c86)
2002-03-07Convert rpcclient to use popt instead of getopt. Includes changing of ↵Jim McDonough1-32/+46
got_pass from BOOL to int. Also includes long option names...anyone want those different before I update the doc? Please try this out. I've tried to test all the flags, but the more times we kick the tires... (This used to be commit cd34897749dc5819dd7239269fbd5dcef5bea5c0)
2002-03-07argc == 0 is an impossible condition.Tim Potter1-1/+2
(This used to be commit 5b195f8bf14b11edca74db5fd9658916447b363d)
2002-02-26merge from 2.2 - fix parsing of optionsHerb Lewis1-14/+16
(This used to be commit c849e93392e3206b010949566a65a339f5064031)
2002-01-30Removed version number from file header.Tim Potter1-2/+1
Changed "SMB/Netbios" to "SMB/CIFS" in file header. (This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
2002-01-06Display nicer message when server name could not be resolved.Tim Potter1-3/+3
(This used to be commit 950d8e365626ecbd82e9ee965dc1724dc50c64a4)
2001-12-21put back the -l option to rpcclient.Jean-François Micouleau1-1/+8
that's the most useful option in this tool ! I love rpcclient ;-) J.F. (This used to be commit 18dc4cd57a53480684ea9e2bc6a6442535f89119)
2001-12-21Fix for null command description in rpcclient help. From Benjamin KuitTim Potter1-1/+2
<bj@it.uts.edu.au>. (This used to be commit 60d1d0bfa93bfb8264b117147b651b521dbf28ce)
2001-12-20lp_setup_logfile() doesn't exist any moreAndrew Tridgell1-7/+1
(This used to be commit aa52ae7354ae5ab803da4686f344cfc4ca134c46)
2001-12-20Removed global debugf. Replaced with lp_set_logfile(name).Jeremy Allison1-3/+2
Fixed winbindd to finally stop leaving log. file droppings :-). Jeremy. (This used to be commit 0bea6cf79a44f79fa3a4f2c8381e898e79c66509)
2001-12-18initialise stringsJean-François Micouleau1-4/+4
(This used to be commit cb61606b8e2852779a03dab3f99a8886edd7a97f)
2001-12-03This change reworkes the connection code for both rpcclient and net newAndrew Bartlett1-86/+36
'net' untility. This should make it easier to port rpcclient code across to net. It also allows SPNEGO (the NTLMSSP subsystem in particular) to work, becouse it kills off the early destruction of the clear-text password. Andrew Bartlett (This used to be commit eee925861a3af3aa16efa3b1700a980c9510c14e)
2001-11-23Removed TimeInit() call from every client program (except for one placeTim Potter1-2/+0
in smbd/process.c where the timezone is reinitialised. Was replaced with check for a static is_initialised boolean. (This used to be commit 8fc772c9e5770cd3a8857670214dcff033ebae32)
2001-11-19Store some path names in global variables initialized to configureMartin Pool1-5/+4
default, rather than in preprocessor macros. (This used to be commit 79ec88f0da40faebe1e587f1b3e87b5f2b184f58)
2001-10-30Display some errors if the initial connection to the server could not beTim Potter1-0/+2
made. (This used to be commit c3f5df8d6743bb7b48118b378f23268008e74145)
2001-10-22allow the samr commands to work back and the help too ;-)Jean-François Micouleau1-9/+11
J.F. (This used to be commit 0157fdc8a291ba9872757fb6cf5e16e98058a034)
2001-10-12Some old stuff hanging around since the CIFS conference. Big cleanup ofTim Potter1-17/+56
rpcclient code. Refactored cmd_* functions to move common mem_ctx and pipe opening stuff up one level. Moved rpcclient.h into rpcclient directory and out of includes/smb.h (This used to be commit a40facba9651f9fb1dcc9e143f92ca298a324312)
2001-10-03Fixup insure changes for rpcclient.Jeremy Allison1-4/+3
Jeremy. (This used to be commit 4fdd45f3ccde89e2ed022f7bfd91c225af6f161b)
2001-10-03Incorrect definition of debugf.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 9f5405d425b2391ccddd919835c9c07cf4b9bf16)
2001-10-02Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header.Tim Potter1-1/+0
(This used to be commit 2d0922b0eabfdc0aaf1d0797482fef47ed7fde8e)
2001-09-29return NT_STATUS_NO_MEMORY istead of NT_STATUS_OK if we are out of memory.Simo Sorce1-1/+1
(This used to be commit d38bc1dceccaa4cbdaf3ac4d561225229161714a)
2001-09-17move to SAFE_FREE()Simo Sorce1-3/+3
(This used to be commit 5ceecc7bef71b455ba7c4efd9928e2433dccc961)
2001-09-15Fix up NTSTATUS stuff in rpcclient's help functionAndrew Bartlett1-5/+5
(This used to be commit 512e9a5f94ba71bdea2bdecb8f21f9daad51ef3a)
2001-09-05oh fooTim Potter1-1/+1
(This used to be commit 66c7bb9467c1acaf7e5b310a2ebc753f455b18c9)
2001-09-05Don't crash if run with no command line arguments. (-:Tim Potter1-1/+1
(This used to be commit a46e9cc3a1a247fba8fe9b4cdfa16954071b4a35)
2001-09-04the next stage in the NTSTATUS/WERROR change. smbd and nmbd now compile, but ↵Andrew Tridgell1-18/+20
the client code still needs some work (This used to be commit dcd6e735f709a9231860ceb9682db40ff26c9a66)
2001-08-27Fix bug in usage().Tim Potter1-3/+7
Allow user to invoke with \\ or // in front of server name. (This used to be commit c292b63ff60ca80c0f1804fbfb28d582c3308014)
2001-08-27converted another bunch of stuff to NTSTATUSAndrew Tridgell1-6/+6
(This used to be commit 1d36250e338ae0ff9fbbf86019809205dd97d05e)
2001-08-10- avoid possible mem leaks in rpcclient/cmd_*.c (talloc_destroy not performed)Simo Sorce1-9/+7
- ported two rpc back from TNG (WINREG: shutdown and abort shutdown) - some optimizations and changed some DEBUG statement in loadparm.c - changed rpcclient a bit moved from non reentrant next_token_nr to next_token - in cmd_reg.c not sure if getopt will work ok on all platforms only setting optind=0 (This used to be commit fd54412ce9c3504a547e232602d6129e08dd9d4d)
2001-07-27Return an exit code when connect failed.Tim Potter1-1/+1
Patch from Michael Sweet <mike@easysw.com> (This used to be commit 2c7d09b38dceb58b85fe49efb7c7e3def84c587b)
2001-07-20Started adding some help/usage info for rpcclient commands.Tim Potter1-16/+62
(This used to be commit 37052a1bcc5cd049918c3d5ac4c41c3a669290af)
2001-07-08fixed anonymous login in rpcclientAndrew Tridgell1-4/+7
(This used to be commit b2a4a62b5ed581bf89fe20cdf427c1740fd73266)
2001-07-08improved the command line parsing of rpcclientAndrew Tridgell1-16/+17
(This used to be commit 29d8f9bcb3f55365740a5bbafc75dd2dffc107a9)