summaryrefslogtreecommitdiff
path: root/source3/rpcclient
AgeCommit message (Collapse)AuthorFilesLines
2007-11-27Remove some staticsVolker Lendecke1-1/+2
(This used to be commit 1fab16ffb888cd4ec18e52d9da33976a67a5d104)
2007-11-20More trivial pstring removal.Jeremy Allison2-54/+107
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 Allison5-33/+33
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) Carter5-477/+148
(This used to be commit 5c6c8e1fe93f340005110a7833946191659d88ab)
2007-10-10r25572: Fix warnings (values are always true).Jelmer Vernooij1-6/+3
(This used to be commit 2c77c3c58e75d6a9c08d723976c37d899a53c99a)
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-10r25294: Tidy up callers of unistr2_to_ascii() to pass sizeof(target_area) toMichael Adam2-34/+34
the maxeln parameter instead of sizeof(target_area) - 1 (or even sizeof(fstring) - 1 in some places. I hope these were really all there were. Michael (This used to be commit 9a28be220df622322857dfe102fa35e108f932dc)
2007-10-10r25285: Fix some more callers of unistr2_to_ascii to use the size ofMichael Adam1-4/+4
destination instead of source as maxlen. Michael (This used to be commit 76cb05deec153c1e0003776339da912a0f3d73a9)
2007-10-10r25281: Fix a caller of unistr2_to_ascii():Michael Adam1-1/+1
The maxlen parameter should be set to the size of the destination, not to the size of the soruce. Michael (This used to be commit 841ff0beee7ea44ee92d1f90de3edeb53edcae0a)
2007-10-10r24742: Add experimental DsGetDcName() call (will be used by krb5 locator ↵Günther Deschner1-46/+15
for fine grained KDC DNS queries). Guenther (This used to be commit 3263cd680fe429430d789b284464fca72ef45719)
2007-10-10r24167: Fix Coverity ID 365Volker Lendecke1-10/+7
We checked argc>=3 some lines above (This used to be commit fa385e9f3c980756e428d89e73012cce895c3bf6)
2007-10-10r24068: Fix Coverity id 366 (dead code). We have checked for argc >= 3 above.Volker Lendecke1-9/+6
(This used to be commit b876bca6bcdb091c4f4f11af3bd758c8ce4db50a)
2007-10-10r23883: Fix Coverity ID 380Volker Lendecke1-0/+2
(This used to be commit 5eda562f2b7a08f57fb2a7082d18e2983bfdc864)
2007-10-10r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell14-28/+14
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison14-14/+14
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10r23628: Add LSA lookupnames_level to rpcclient.Günther Deschner1-0/+52
Guenther (This used to be commit dee99e40454b00da70343047c57e0cb0f2c489bd)
2007-10-10r23627: Allow to pass down the lookup-level to rpccli_lsa_lookup_names().Günther Deschner1-2/+2
Guenther (This used to be commit e9a7512a9f630340004913f1379452eea8a9b6ae)
2007-10-10r23623: Fix rpcclient and rpc_server with new DFS idl.Günther Deschner1-10/+16
Guenther (This used to be commit bffe33dd261fdcf9ef8f9f232c15559661843c7c)
2007-10-10r23555: Fix some uninitialiazed variable uses.Jeremy Allison1-2/+6
Jeremy (This used to be commit dc287adff249e45a5584ec5fb9177e62152a7403)
2007-10-10r23380: netr_getdcname returns WERROR not NTSTATUS.Günther Deschner1-7/+7
Guenther (This used to be commit 5e75ea7f2b568d76c8ced5f43171741532cc97c2)
2007-10-10r23372: Remove restriction on string length for rpcclient commands.Jeremy Allison1-3/+4
Jeremy. (This used to be commit a2cf87f58a0a1dbc468a78347880a2f07443b1d8)
2007-10-10r23249: another sync from 3.0.26 for the echo work to rpcclientGerald Carter1-11/+26
(This used to be commit 7aa1f89eb369805e3c3e36b4d62dddbea9dfab2f)
2007-10-10r23219: Two warningsVolker Lendecke1-1/+1
(This used to be commit eccd50abdaed3e4e06cc5da5473ca1beeb3fc49a)
2007-10-10r23210: Very funny, we thought to use netr_GetDcName (e.g. in winbind) but ↵Günther Deschner1-12/+12
were using netr_GetDcAnyName all the time (which is the correct thing to do). Fix the naming and opcode mixup in all branches. Guenther (This used to be commit def6464c872a5939f0028837254f2c019d2d71c8)
2007-10-10r23127: Fill in some more netlogon dsgetdcname flavours (netr_DsRGetDCNameEx,Günther Deschner1-11/+183
netr_DsRGetDCNameEx2) and add new ds request and reply flags, also add some more WERROR codes. Guenther (This used to be commit 37ae7f419702c563bcd0d9c27c02bde7efd34dd7)
2007-10-10r22589: Make TALLOC_ARRAY consistent across all uses.Jeremy Allison1-14/+25
Jeremy. (This used to be commit 8968808c3b5b0208cbad9ac92eaf948f2c546dd9)
2007-10-10r22588: Make all uses of TALLOC_MEMDUP consistent.Jeremy Allison1-2/+10
Jeremy. (This used to be commit 8ad13718af0ba1fcb10a6f1631b1ed3cb8d11175)
2007-10-10r22489: Add a deletedomgroup command to rpcclient (samr).Michael Adam1-0/+73
Corresponding to deletedomuser. Michael (This used to be commit 9775de56b89f00c77cc52e5d53d93502dc79483e)
2007-10-10r22062: Fix the parsing of info level 3. Flags is not a flagsJeremy Allison1-3/+1
field, but an offset. Fixed 64-bit display of ACLs on printers. Jeremy. (This used to be commit 0c8949ff5d742dbe59f2af0f57a289f238e3592c)
2007-10-10r21609: Fix memory leaks in error code paths (and one in winbindd_group.c).Jeremy Allison1-0/+1
Patch from Zack Kirsch <zack.kirsch@isilon.com>. Jeremy. (This used to be commit df07a662e32367a52c1e8473475423db2ff5bc51)
2007-10-10r21320: Display query_user info level 16 in rpcclient.Günther Deschner1-3/+14
Guenther (This used to be commit bc77622134e606b8a643454493ba316f84312d52)
2007-10-10r21259: Fix coverity bug id #340. No way to processJeremy Allison1-1/+1
logon parameter as the code was written. Jeremy. (This used to be commit 7f1aee96a09d77de76b2cdbe5c2e6f27e6968b09)
2007-10-10r21117: Add rpccli_samr_chgpasswd_user to rpcclient for testing.Günther Deschner1-0/+55
Guenther (This used to be commit 4036cb51692d3f12a8f56a412fa5b2ca830d005b)
2007-10-10r20970: Allow to define workstation for samlogon in rpcclient (for testing).Günther Deschner1-7/+11
Guenther (This used to be commit 5d4747fdf2e5874cb5d2238ee62e4fcac1676134)
2007-10-10r20839: Fix other C++ warningsJelmer Vernooij1-1/+1
(This used to be commit d948d828d591b3467945f5a85a561ebb07299d9f)
2007-10-10r20832: Remove extra pointers previously added to unique [out] pointers. ↵Jelmer Vernooij4-16/+18
Instead, add [ref] pointers where necessary (top-level [ref] pointers, by spec, don't appear on the wire). This brings us closer to the DCE/RPC standard again. (This used to be commit 580f2a7197b1bc9db14a643fdd112b40ef37aaef)
2007-10-10r20090: Fix a class of bugs found by James Peach. EnsureJeremy Allison1-1/+3
we never mix malloc and talloc'ed contexts in the add_XX_to_array() and add_XX_to_array_unique() calls. Ensure that these calls always return False on out of memory, True otherwise and always check them. Ensure that the relevent parts of the conn struct and the nt_user_tokens are TALLOC_DESTROYED not SAFE_FREE'd. James - this should fix your crash bug in both branches. Jeremy. (This used to be commit 0ffca7559e07500bd09a64b775e230d448ce5c24)
2007-10-10r19991: Sorry for this 2000-liner...Volker Lendecke1-4/+3
The main thing here is a rewrite of srv_winreg_nt.c. The core functionality has moved to registry/reg_api.c which is then usable by the rest of Samba as well. On that way it fixes creating keys with more than one element in the path. This did not work before. Two things that sneaked in (sorry :-) is the change of some routines from NTSTATUS to WERROR the removed "parent" argument to regkey_open_internal. Volker (This used to be commit fea52801de8c7b85c578d200c599475680c5339f)
2007-10-10r19849: Fix compilation after idl changes.Jelmer Vernooij1-4/+4
(This used to be commit b7f22408e9aac88e792929afe15385e5997658ce)
2007-10-10r19811: Decode REG_MULTI_SZ and REG_BINARYVolker Lendecke1-1/+1
(This used to be commit 679330175185f8504bb5968339dcc7cb20d9140c)
2007-10-10r19797: Convert the remaining pipes to the "new" unique out ptr handlingVolker Lendecke2-12/+10
(This used to be commit bc4e0a388a2859d2ddcfb8f07920f3b121a37894)
2007-10-10r19794: Convert DFSVolker Lendecke1-5/+8
(This used to be commit 2efd3b35097a780ce99abad8a10eca536f37fc26)
2007-10-10r19790: Check in the PIDL change and the converted unixinfo and winbind ↵Volker Lendecke1-5/+6
pipes without waiting for comments. This is what version control is for, and it does fix a segfault I ran into ;-) Nevertheless, Jelmer & Jerry, please take a look! Thanks, Volker (This used to be commit 95c14a822cae2ddc2e6ed87f5f5505fa7b98e4f0)
2007-10-10r19487: Fix coverity # 313Volker Lendecke1-2/+4
(This used to be commit 0eb5a0f7b8dd26dae489b74e1d2a88188ae9e48d)
2007-10-10r19451: Another cleanup of 18802. Referring to structures after the block ↵Volker Lendecke1-3/+3
has been left is not a good idea. Volker (This used to be commit 88ac17db196c828e15a73c7561fda291b15e2613)
2007-10-10r19355: Add getdispenumindex2 wrapper for rpcclient.Günther Deschner1-12/+44
Guenther (This used to be commit 27c35848ebc6d72fd4fccbb6597b63787230f80c)
2007-10-10r19354: adjust usage printf for rpcclient's timeout command.Günther Deschner1-1/+1
Guenther (This used to be commit fb21c9c58b3867ee2f0831342427b0cd0aa1fd6c)