summaryrefslogtreecommitdiff
path: root/source3/rpcclient/rpcclient.c
AgeCommit message (Collapse)AuthorFilesLines
2003-10-01commit sign only patch from Andrew; bug 167; tested using 2k & XP ↵Gerald Carter1-21/+29
clientspreviously joined to the Samba domain (This used to be commit 9d2e585e5e6f9066c6901aa8d8308734f8667296)
2003-09-09sync 3.0 into HEAD for the last timeGerald Carter1-4/+8
(This used to be commit c17a7dc9a190156a069da3e861c18fd3f81224ad)
2003-08-02port latest changes from SAMBA_3_0 treeSimo Sorce1-50/+36
(This used to be commit 3101c236b8241dc0183995ffceed551876427de4)
2003-07-16trying to get HEAD building again. If you want the codeGerald Carter1-22/+160
prior to this merge, checkout HEAD_PRE_3_0_0_BETA_3_MERGE (This used to be commit adb98e7b7cd0f025b52c570e4034eebf4047b1ad)
2003-05-10Reverse previous patch from Stefan and me after comments by Andrew Bartlett.Jelmer Vernooij1-4/+0
(This used to be commit d31509fe88da8727521586dced1da2c73bfee2bc)
2003-05-10Patch from metze and me that adds dummy smb_register_*() functionsJelmer Vernooij1-0/+4
(This used to be commit 367a5cad1edf6a49783806d5a8b59a62d8856706)
2003-04-28Perform lp_load() before popt to fix -W option.Tim Potter1-11/+11
(This used to be commit d20f4bf5d84f435a7b4b692bf33f05f4ec871a50)
2003-04-23Patch from waider to set exit code of last executed command specifiedTim Potter1-2/+4
as an argument to -c. (This used to be commit 048aeefcdc12d93bc728d104bbf38ea8becfb16c)
2003-04-16Store the type of 'sec channel' that we establish to the DC. If we are aAndrew Bartlett1-2/+3
workstation, we have to use the workstation type, if we have a BDC account, we must use the BDC type - even if we are pretending to be a workstation at the moment. Also actually store and retreive the last change time, so we can do periodic password changes again (for RPC at least). And finally, a couple of minor fixes to 'net'. Andrew Bartlett (This used to be commit 6e6b7b79edae3efd0197651e9a8ce6775c001cf2)
2003-04-11A new RPC pipe! The \pipe\echo named pipe is for testing large RPCTim Potter1-2/+5
requests and responses and is only compiled in when --enable-developer is passed to configure. It includes server and client side code for generating and responding to functions on this pipe. The functions are: - AddOne: add one to the uint32 argument and return ig - EchoData: echo back a variable sized char array to the caller - SourceData: request a variable sized char array - SinkData: send a variable sized char array and throw it away There's a win32 implementation of the client and server in the junkcode CVS repository in the rpcecho-win32 subdirectory. (This used to be commit 4ccd34ef836eba05f81dc2da73fd7cfaac201798)
2003-04-09This is the netlogon schannel client code. Try aVolker Lendecke1-3/+20
rpcclient -S pdc -U% -c "samlogon user password" and it should work with the schannel. Needs testing platforms different from NT4SP6. Volker (This used to be commit ecd0ee4d248e750168597ccf79c389513bb0f740)
2003-03-24Revoke some of the popt patch from metze I applied earlier today. It addedJelmer Vernooij1-1/+2
some double options and broke some parameters. (This used to be commit d5f9b0275c91512e1926504f22aaeec2d104430d)
2003-03-24Patch from metze to generalise POPT_COMMON_SAMBA, with some minor changesJelmer Vernooij1-145/+11
(This used to be commit 2ddfed298d7f0b6e690275725a39c3ef107077ae)
2003-03-17Applied waider's patch to return DOS error codes for pipes thatTim Potter1-14/+34
support it. (This used to be commit ac3df9a8051bd105e8e4192d36b3024fdf9f9506)
2003-03-07safe_strcpy() -> fstrcpy() fix, and a cleanup to how rpcclient calls theAndrew Bartlett1-8/+3
IP address resolving code. (This used to be commit 1f605fe77c56ee2a7838c9f87eedf4bb91ebf688)
2003-02-25More const fixes and flow on fixes from yesterday's const-fest.Tim Potter1-2/+2
(This used to be commit 018733eedd7897e6811e8461c07e3acf418c0e09)
2003-02-25Fixed up some const related compiler warnings.Tim Potter1-3/+3
(This used to be commit 923425e497112c5d1e2e569da6c13dcd02b6a8af)
2003-02-21Fix for only specifying one command with -cTim Potter1-1/+4
(This used to be commit 7418351427071edccb2e825ddbbf31fce8ef381e)
2003-02-18Add -V option (to print out version) to utilities where possibleJelmer Vernooij1-0/+1
(pdbedit already has a -V option..) (This used to be commit 5de622968d95c1436dbd34edc8d0a9bbff68916b)
2003-02-17Don't pstrcpy into an fstring. (Harmless in this case since it comesMartin Pool1-3/+10
from an environment variable.) (This used to be commit 9f9077346bf9f7c96376169c60aa893f15fb9d2c)
2003-02-17Start reworking rpcclient to use popt rather than next_token to parseMartin Pool1-103/+69
command lines. This makes the code much simpler and also stops trivial syntax errors from causing a crash. Also fix support for semicolon-separated commands in -c, which is promised by the manual but apparently never working due to an off-by-one error. (This used to be commit d85a25e733fe970ae96a02a5cbc892f2b8dca1b7)
2003-01-21revert accidentally committed changesJim McDonough1-3/+4
(This used to be commit 5d43346761cd120c12766536efb0513994d7bace)
2003-01-21Properly display popt errors. Also fix debug to be -d for consistency with ↵Jim McDonough1-4/+3
other progs. (This used to be commit 97133f7168852dc185dbf4492afcaf4b68180f65)
2003-01-11A couple more fstring/pstring issues - and move from sizeof(fstring) toAndrew Bartlett1-3/+3
sizeof(var) in slprintf statements, so as to ensure we don't get mixups there. Also remove fstrcpy() into a variable that is about to be printed into anyway. Andrew Bartlett (This used to be commit 9b761237321d475c324a3995fe6f0922550ae995)
2003-01-08Display an error message when the server cannot be resolved when running atTim Potter1-1/+1
debug level 0. (This used to be commit 451286febd251d25b8beeae9b41a09102240c219)
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 842e08e52a665ae678eea239759bb2de1a0d7b33)
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 82b8f749a36b42e22186297482aad2abb04fab8a)
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 b521abd86b10573ca8f9116907c81e6deb55f049)
2002-10-05Update popt help message and use popt-commonJelmer Vernooij1-12/+7
(This used to be commit 821b27037b991e143b87f0f1c7186c9a403376f0)
2002-10-04merge of working dsrolegetprimdominfo() client code from APP_HEADGerald Carter1-0/+2
(This used to be commit f70caa25e4ee198151b915cf2bc0a26b2d0e243d)
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 38c9e4299845fd77cc8629945ce2d259489f7437)
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)