summaryrefslogtreecommitdiff
path: root/source3/rpcclient/rpcclient.c
AgeCommit message (Collapse)AuthorFilesLines
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)
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)
2001-07-04The big character set handling changeover!Andrew Tridgell1-2/+0
This commit gets rid of all our old codepage handling and replaces it with iconv. All internal strings in Samba are now in "unix" charset, which may be multi-byte. See internals.doc and my posting to samba-technical for a more complete explanation. (This used to be commit debb471267960e56005a741817ebd227ecfc512a)
2001-06-21next_token() was supposed to be a reentrant replacement for strtok(),Andrew Tridgell1-4/+4
but the code suffered from bitrot and is not now reentrant. That means we can get bizarre behaviour i've fixed this by making next_token() reentrant and creating a next_token_nr() that is a small non-reentrant wrapper for those lumps of code (mostly smbclient) that have come to rely on the non-reentrant behaviour (This used to be commit 674ee2f1d12b0afc164a9e9072758fd1c5e54df7)
2001-06-06Added stub dfs client commands to rpcclient.Tim Potter1-0/+2
(This used to be commit e65b4862733668feb62befe03ea5724c0a862acc)
2001-05-31merge from 2.2Gerald Carter1-12/+28
(This used to be commit c827787d679b3bbf9f57ff6d5aaab150456b1662)
2001-05-31merge from 2.2Gerald Carter1-0/+6
(This used to be commit e30a3be954c0eacb3ccffdaa1165a9f0e8b93a23)
2001-05-24Removed some level 0 debugs accidentally left in - oops.Tim Potter1-3/+0
(This used to be commit c4e7ce267f63c1b1b0942d8b0a434f6e44a5312f)
2001-05-24Replaced next_command() with call to next_token().Tim Potter1-21/+5
(This used to be commit c9b4ed79c84dde3421c457cd0a33dae5d84fcae1)
2001-05-24Added stubs for SRVSVC and NETLOGON rpcclient commands.Tim Potter1-16/+30
(This used to be commit 3343c9f0d67d98687e5933e1a73c0ff487279160)