summaryrefslogtreecommitdiffstats
path: root/source/rpcclient/rpcclient.c
Commit message (Collapse)AuthorAgeFilesLines
* Fixed compile warning.Tim Potter2002-05-071-1/+2
|
* Fixed command line argument parsing.Tim Potter2002-04-171-70/+54
|
* merges from SAMBA_2_2Gerald Carter2002-04-161-44/+61
|
* Fixed comment.Tim Potter2002-04-141-1/+1
|
* Free popt context after argument parsing.Tim Potter2002-04-041-0/+2
|
* added "list <pipe>" command to display the available commandsGerald Carter2002-04-021-0/+45
| | | | one a single pipe
* Renamed get_nt_error_msg() to nt_errstr().Tim Potter2002-03-171-3/+3
|
* One more fix to get popt to work for some compilers...this is the downside ↵Jim McDonough2002-03-081-15/+22
| | | | to popt. Every option has to be in fixed storage.
* Convert rpcclient to use popt instead of getopt. Includes changing of ↵Jim McDonough2002-03-071-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...
* argc == 0 is an impossible condition.Tim Potter2002-03-071-1/+2
|
* merge from 2.2 - fix parsing of optionsHerb Lewis2002-02-261-14/+16
|
* Removed version number from file header.Tim Potter2002-01-301-2/+1
| | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header.
* Display nicer message when server name could not be resolved.Tim Potter2002-01-061-3/+3
|
* put back the -l option to rpcclient.Jean-François Micouleau2001-12-211-1/+8
| | | | | | | | that's the most useful option in this tool ! I love rpcclient ;-) J.F.
* Fix for null command description in rpcclient help. From Benjamin KuitTim Potter2001-12-211-1/+2
| | | | <bj@it.uts.edu.au>.
* lp_setup_logfile() doesn't exist any moreAndrew Tridgell2001-12-201-7/+1
|
* Removed global debugf. Replaced with lp_set_logfile(name).Jeremy Allison2001-12-201-3/+2
| | | | | Fixed winbindd to finally stop leaving log. file droppings :-). Jeremy.
* initialise stringsJean-François Micouleau2001-12-181-4/+4
|
* This change reworkes the connection code for both rpcclient and net newAndrew Bartlett2001-12-031-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
* Removed TimeInit() call from every client program (except for one placeTim Potter2001-11-231-2/+0
| | | | | in smbd/process.c where the timezone is reinitialised. Was replaced with check for a static is_initialised boolean.
* Store some path names in global variables initialized to configureMartin Pool2001-11-191-5/+4
| | | | default, rather than in preprocessor macros.
* Display some errors if the initial connection to the server could not beTim Potter2001-10-301-0/+2
| | | | made.
* allow the samr commands to work back and the help too ;-)Jean-François Micouleau2001-10-221-9/+11
| | | | J.F.
* Some old stuff hanging around since the CIFS conference. Big cleanup ofTim Potter2001-10-121-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
* Fixup insure changes for rpcclient.Jeremy Allison2001-10-031-4/+3
| | | | Jeremy.
* Incorrect definition of debugf.Jeremy Allison2001-10-031-1/+1
| | | | Jeremy.
* Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header.Tim Potter2001-10-021-1/+0
|
* return NT_STATUS_NO_MEMORY istead of NT_STATUS_OK if we are out of memory.Simo Sorce2001-09-291-1/+1
|
* move to SAFE_FREE()Simo Sorce2001-09-171-3/+3
|
* Fix up NTSTATUS stuff in rpcclient's help functionAndrew Bartlett2001-09-151-5/+5
|
* oh fooTim Potter2001-09-051-1/+1
|
* Don't crash if run with no command line arguments. (-:Tim Potter2001-09-051-1/+1
|
* the next stage in the NTSTATUS/WERROR change. smbd and nmbd now compile, but ↵Andrew Tridgell2001-09-041-18/+20
| | | | the client code still needs some work
* Fix bug in usage().Tim Potter2001-08-271-3/+7
| | | | Allow user to invoke with \\ or // in front of server name.
* converted another bunch of stuff to NTSTATUSAndrew Tridgell2001-08-271-6/+6
|
* - avoid possible mem leaks in rpcclient/cmd_*.c (talloc_destroy not performed)Simo Sorce2001-08-101-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
* Return an exit code when connect failed.Tim Potter2001-07-271-1/+1
| | | | Patch from Michael Sweet <mike@easysw.com>
* Started adding some help/usage info for rpcclient commands.Tim Potter2001-07-201-16/+62
|
* fixed anonymous login in rpcclientAndrew Tridgell2001-07-081-4/+7
|
* improved the command line parsing of rpcclientAndrew Tridgell2001-07-081-16/+17
|
* missed a couple of strchr callsAndrew Tridgell2001-07-041-1/+1
|
* strchr and strrchr are macros when compiling with optimisation in gcc, so we ↵Andrew Tridgell2001-07-041-3/+3
| | | | can't redefine them. damn.
* The big character set handling changeover!Andrew Tridgell2001-07-041-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.
* next_token() was supposed to be a reentrant replacement for strtok(),Andrew Tridgell2001-06-211-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
* Added stub dfs client commands to rpcclient.Tim Potter2001-06-061-0/+2
|
* merge from 2.2Gerald Carter2001-05-311-12/+28
|
* merge from 2.2Gerald Carter2001-05-311-0/+6
|
* Removed some level 0 debugs accidentally left in - oops.Tim Potter2001-05-241-3/+0
|
* Replaced next_command() with call to next_token().Tim Potter2001-05-241-21/+5
|
* Added stubs for SRVSVC and NETLOGON rpcclient commands.Tim Potter2001-05-241-16/+30
|