summaryrefslogtreecommitdiff
path: root/source3/rpcclient/rpcclient.c
AgeCommit message (Collapse)AuthorFilesLines
2003-02-25Merge: const fixes.Tim Potter1-110/+87
Merge: add popt_common_version to command line options table. Merge: mbp's rewrite of do_cmd() (This used to be commit 20f153cee38edfa93ffd60cc872a299a4f296240)
2003-01-15merging some rpcclient and net functionality from HEADGerald Carter1-1/+1
(This used to be commit 7a4c87484237308cb3ad0d671687da7e0f6e733b)
2003-01-14Merge from HEAD:Andrew Bartlett1-3/+3
- fstring/pstring mixups - the detection code that found them (disabled) - a bit of whitespace - a static Andrew Bartlett (This used to be commit 9b70fa868e7d9481f584c83fc4046174e1dedfd9)
2002-12-20Forward port the change to talloc_init() to make all talloc contextsJeremy Allison1-2/+2
named. Ensure we can query them. Jeremy. (This used to be commit 09a218a9f6fb0bd922940467bf8500eb4f1bcf84)
2002-11-12Removed global_myworkgroup, global_myname, global_myscope. Added liberalJeremy Allison1-6/+6
dashes of const. This is a rather large check-in, some things may break. It does compile though :-). Jeremy. (This used to be commit f755711df8f74f9b8e8c1a2b0d07d02a931eeb89)
2002-10-28Sync with head...Jelmer Vernooij1-12/+7
(This used to be commit 60c83a6007085a8404b641b9783ae7b9c151e4ab)
2002-10-17Added new error codes. Fix up connection code to retry in the same wayJeremy Allison1-1/+1
that app-head does. Jeremy. (This used to be commit ec7953f20145799f6286a295472df4826bfdfb8f)
2002-10-04merge of working dsrolegetprimdominfo() client code from APP_HEADGerald Carter1-0/+2
(This used to be commit 028477e35208e76fedbc7c743426fd9be94b7cf0)
2002-10-04merge of new client side support the Win2k LSARPC UUID in rpcbindGerald Carter1-13/+12
from APP_HEAD (This used to be commit 1cfd2ee433305e91e87804dd55d10e025d30a69e)
2002-09-25sync'ing up for 3.0alpha20 releaseGerald Carter1-49/+17
(This used to be commit 65e7b5273bb58802bf0c389b77f7fcae0a1f6139)
2002-08-17sync 3.0 branch with HEADJelmer Vernooij1-8/+2
(This used to be commit 6497eb78e87a6ffa4c2c61aa4ef6ecd451821a27)
2002-07-15updated the 3.0 branch from the head branch - ready for alpha18Andrew Tridgell1-38/+48
(This used to be commit 03ac082dcb375b6f3ca3d810a6a6367542bc23ce)
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)
2001-07-04missed a couple of strchr callsAndrew Tridgell1-1/+1
(This used to be commit 57e7df8ae58020ab653307c1fdfbadd44983e900)
2001-07-04strchr and strrchr are macros when compiling with optimisation in gcc, so we ↵Andrew Tridgell1-3/+3
can't redefine them. damn. (This used to be commit c41fc06376d1a2b83690612304e85010b5e5f3cf)