summaryrefslogtreecommitdiff
path: root/source3/rpcclient/rpcclient.c
AgeCommit message (Collapse)AuthorFilesLines
2008-02-17Add very basic ntsvcs client to rpcclient.Günther Deschner1-0/+2
Guenther (This used to be commit 0358ad7e933f6a0859000ba56e4bb88506d70610)
2008-02-08Use rpccli_lsa_QueryInfoPolicy() all over the place.Günther Deschner1-6/+6
Guenther (This used to be commit ce22abcea3446e4ad42e8e04654b9855b173c5a1)
2008-01-23Windows 2008 (Longhorn) auth2 flag fixes.Andreas Schneider1-1/+1
Interop fixes for AD specific flags. Original patch from Todd Stetcher. (This used to be commit 5aadfcdaacd6f136eab9e107a88b8544e6d2105f)
2008-01-15Apply const to rpccli_lsa_query_info_policy() and ↵Günther Deschner1-1/+1
rpccli_lsa_query_info_policy2(). Guenther (This used to be commit 7a3fe68bef7acde9d9f8a7a44ce7e9432f3c5a95)
2008-01-05Add general '-e' option to enable smb encryptionJeremy Allison1-0/+12
on tools. Jeremy. (This used to be commit 757653966fc1384159bd2d57c5670cd8af0cae96)
2007-12-10Remove the char[1024] strings from dynconfig. ReplaceJeremy Allison1-2/+2
them with malloc'ing accessor functions. Should save a lot of static space :-). Jeremy. (This used to be commit 52dc5eaef2106015b3a8b659e818bdb15ad94b05)
2007-12-06Make all the tools use the proper accessor functions.Jeremy Allison1-6/+6
Jeremy. (This used to be commit 6d61bb87975839adb25c304e5e5041f91b12d236)
2007-12-06Remove pstrings from client/client.c by doing a large rewrite.Jeremy Allison1-5/+6
Mostly compiles.... Jeremy. (This used to be commit c87f3eba9aa52f4ab25d77e2167262bf5c43b1a6)
2007-12-03Reanimate rpcclient wkssvc command.Günther Deschner1-0/+2
Guenther (This used to be commit 1d615e3ac397106f47c51ace36c01a8f6e1d5d13)
2007-11-28Give rpcclient a talloc stackframe.Michael Adam1-12/+23
Michael (This used to be commit 3330394d2d5d58576d9ddb52f60a3e27f31d5198)
2007-11-20More trivial pstring removal.Jeremy Allison1-4/+1
Jeremy. (This used to be commit bac3bb2f6e9e15b3a9a6a6511c484f8509918ca1)
2007-10-27Change all occurrences of zero_addr(&ss,AF_INET) toJeremy Allison1-1/+1
zero_addr(&ss). All current uses were always of the AF_INET form, so simplify the call. If in the future we need to zero an addr to AF_INET6 this can be done separately. Jeremy. (This used to be commit 2e92418a138bf2738b77b7e0fcb2fa37ad84fc0c)
2007-10-24This is a large patch (sorry). Migrate from struct in_addrJeremy Allison1-22/+24
to struct sockaddr_storage in most places that matter (ie. not the nmbd and NetBIOS lookups). This passes make test on an IPv4 box, but I'll have to do more work/testing on IPv6 enabled boxes. This should now give us a framework for testing and finishing the IPv6 migration. It's at the state where someone with a working IPv6 setup should (theorecically) be able to type : smbclient //ipv6-address/share and have it work. Jeremy. (This used to be commit 98e154c3125d5732c37a72d74b0eb5cd7b6155fd)
2007-10-18RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison1-1/+1
bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
2007-10-10[GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.Gerald (Jerry) Carter1-2/+0
(This used to be commit 5c6c8e1fe93f340005110a7833946191659d88ab)
2007-10-10r25407: Revert Longhorn join patch as it is not correct for the 3.2 tree.Gerald Carter1-1/+1
The translate_name() used by cli_session_setup_spnego() cann rely Winbindd since it is needed by the join process (and hence before Winbind can be run). (This used to be commit 00a93ed336c5f36643e6e33bd277608eaf05677c)
2007-10-10r25400: Windows 2008 (Longhorn) Interop fixes for AD specific auth2 flags,Gerald Carter1-1/+1
and client fixes. Patch from Todd Stetcher <todd.stetcher@isilon.com>. (This used to be commit 8304ccba7346597425307e260e88647e49081f68)
2007-10-10r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell1-2/+1
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10r23372: Remove restriction on string length for rpcclient commands.Jeremy Allison1-3/+4
Jeremy. (This used to be commit a2cf87f58a0a1dbc468a78347880a2f07443b1d8)
2007-10-10r19354: adjust usage printf for rpcclient's timeout command.Günther Deschner1-1/+1
Guenther (This used to be commit fb21c9c58b3867ee2f0831342427b0cd0aa1fd6c)
2007-10-10r19353: Add "timeout" command for rpcclient.Günther Deschner1-0/+37
Guenther (This used to be commit 4106a56d3f4edb2e07e876204743a1cb028c950a)
2007-10-10r18747: replace rpccli_lsa_close() with rpccli_lsa_Close()Gerald Carter1-1/+1
(This used to be commit 50d74ce0488a9bd0980cdc6d523a210f6238ef74)
2007-10-10r18711: Replace the following hand code client routines:Gerald Carter1-2/+0
* rpccli_reg_abort_shutdown() * rpccli_reg_flush_key() Remove the cmd_reg.c from rpcclient since the entire file was unused (This used to be commit c4788f0c1398feb098f131aa5c4d0398d7489527)
2007-10-10r18681: Although we have commandline completion in rpcclient, just also allowGünther Deschner1-0/+1
"debug" to be set instead of "debuglevel" - just for convenience. Guenther (This used to be commit ffec64730b04076264045841ccfd0ed7fce43c2f)
2007-10-10r16945: Sync trunk -> 3.0 for 3.0.24 code. Still needJeremy Allison1-0/+2
to do the upper layer directories but this is what everyone is waiting for.... Jeremy. (This used to be commit 9dafb7f48ca3e7af956b0a7d1720c2546fc4cfb8)
2007-10-10r15556: Better fix for leading // or \\ from "David R. Linn"Jeremy Allison1-2/+2
<drl@vuse.vanderbilt.edu>. Jeremy. (This used to be commit 502f3e911a2e9e3e0e4a4eae34885329e0624dd5)
2007-10-10r15537: Ignore // or \\ in //server or \\server.Jeremy Allison1-0/+5
Jeremy. (This used to be commit 45cfba12cfd87bebd3876087cac0575f586e395f)
2007-10-10r14399: Fix deadcode coverity bug #3.Jeremy Allison1-4/+1
Jeremy. (This used to be commit 3799f18b356934592206679310e6e409c0d1ca0f)
2007-10-10r14340: Fix coverity #78, resource leak in error path.Jeremy Allison1-12/+20
Jeremy. (This used to be commit 76c4f2c4dc6fcd91a350985b16f4a6a321ac4bf6)
2007-10-10r14245: We've dereferenced argv before, no point in checking.Volker Lendecke1-7/+5
Fix Coverity bug # 144. Volker (This used to be commit d47ee82f068f1dfbae4a1c81e6bd765d5d36f09f)
2007-10-10r13394: Fix rpcclient to obey the -W parameter. Not that I *like* the smbclientVolker Lendecke1-0/+12
solution, but it does this particular job... :-) Volker (This used to be commit df6d67cd10c0045f3c6f73381716300221cecf18)
2007-10-10r13379: Andrew correctly noted that this breaks -s. Not sure what to do...Volker Lendecke1-10/+10
(This used to be commit 5f9f772c2539112b17ebd13d7d3f4f7ab6fb141b)
2007-10-10r13378: Not sure what this breaks, but we have to do the popt processing ↵Volker Lendecke1-10/+10
after the lp_load, because otherwise the lp_load overwrites the -W setting again. Volker (This used to be commit c7cc625d6360c1df2e4465d1d5ae792ff63a80de)
2007-10-10r13212: r12414@cabra: derrell | 2006-01-28 17:52:17 -0500Derrell Lipman1-1/+1
lp_load() could not be called multiple times to modify parameter settings based on reading from multiple configuration settings. Each time, it initialized all of the settings back to their defaults before reading the specified configuration file. This patch adds a parameter to lp_load() specifying whether the settings should be initialized. It does, however, still force the settings to be initialized the first time, even if the request was to not initialize them. (Not doing so could wreak havoc due to uninitialized values.) (This used to be commit f2a24de769d1b2266e576597c57a8e3b1e2a2b51)
2007-10-10r12581: And another one :-)Volker Lendecke1-0/+2
(This used to be commit 3247a4cfc1df27c23806f196257bd8c68cb63176)
2007-10-10r11492: Fix bug #3224 (I hope). Correctly use machine_account_nameJeremy Allison1-3/+4
and client_name when doing netlogon credential setup. Jeremy. (This used to be commit 37e6ef9389041f58eada167239fd022f01c5fecb)
2007-10-10r10656: BIG merge from trunk. Features not copied overGerald Carter1-142/+191
* \PIPE\unixinfo * winbindd's {group,alias}membership new functions * winbindd's lookupsids() functionality * swat (trunk changes to be reverted as per discussion with Deryck) (This used to be commit 939c3cb5d78e3a2236209b296aa8aba8bdce32d3)
2007-10-10r9198: Convert hex_encode and strhex_to_data_blob to take a talloc context.Volker Lendecke1-4/+3
Volker (This used to be commit c7d10e2c834d8d5136e2d01dea1ad286757deddb)
2007-10-10r8937: allow to use non-default smb.conf in rpcclientGünther Deschner1-5/+5
Guenther (This used to be commit c0f3f12a6237842987845f4b4c787e25a632f2f5)
2007-10-10r7415: * big change -- volker's new async winbindd from trunkGerald Carter1-25/+10
(This used to be commit a0ac9a8ffd4af31a0ebc423b4acbb2f043d865b8)
2007-10-10r7391: - Added client-support for various lsa_query_trust_dom_info-calls and aGünther Deschner1-2/+2
rpcclient-tester for some info-levels. Jerry, I tried to adopt to prs_pointer() where possible and to not interfere with your work for usrmgr. - Add "net rpc trustdom vampire"-tool. This allows to retrieve Interdomain Trust(ed)-Relationships from NT4-Servers including cleartext-passwords (still stored in the local secrets.tdb). The net-hook was done in cooperation with Lars Mueller <lmuelle@suse.de>. To vampire trusted domains simply call: net rpc trustdom vampire -S nt4dc -Uadmin%pass Guenther (This used to be commit 512585293963a1737f831af697ea1dc092d63cb0)
2007-10-10r5944: cleaning up compiler warnings reported by Jason MaderGerald Carter1-2/+0
(This used to be commit 8f87d9c5b66bfbbb1c2eb409bc424fa730b66ff0)
2007-10-10r5593: More reversal of accidental commit.Jim McDonough1-2/+2
(This used to be commit ec78c3f2a2e38abe96132475a22bfd52c850b001)
2007-10-10r5591: Implement "net rpc trustdom del", including client side ofJim McDonough1-2/+2
samr_remove_sid_from_foreign_domain. (This used to be commit 8360695fc02dfb09aff92a434bf9d411e65c478c)
2007-10-10r4633: Finally give rpcclient a port-command.Günther Deschner1-1/+3
Guenther (This used to be commit c39c447a5de75d15d17bb65227ebc5eb1355e4e1)
2007-10-10r4570: Replace cli->nt_pipe_fnum with an array of NT file numbers, one for eachVolker Lendecke1-6/+8
supported pipe. Netlogon is still special, as we open that twice, one to do the auth2, the other one with schannel. The client interface is completely unchanged for those who only use a single pie. cli->pipe_idx is used as the index for everything except the "real" client rpc calls, which have been explicitly converted in my last commit. Next step is to get winbind to just use a single smb connection for multiple pipes. Volker (This used to be commit dc294c52e0216424236057ca6cd35e1ebf51d0da)
2007-10-10r4088: Get medieval on our ass about malloc.... :-). Take control of all our ↵Jeremy Allison1-5/+5
allocation functions so we can funnel through some well known functions. Should help greatly with malloc checking. HEAD patch to follow. Jeremy. (This used to be commit 620f2e608f70ba92f032720c031283d295c5c06a)
2004-01-16fix another bug caused by cli_lsa_query_info_policy() changesGerald Carter1-2/+4
(This used to be commit faec928564529c7ffb2653943be9cafbfb9e4688)
2003-10-24Add initshutdown pipe commands to rpcclient. Second part of fix to bugJim McDonough1-0/+2
#534 (This used to be commit 4e86243ea1d4bbe96720caaaf02300f5e15bee5a)