summaryrefslogtreecommitdiff
path: root/source3/utils/net_rpc.c
AgeCommit message (Collapse)AuthorFilesLines
2008-02-01Use rpccli_samr_CreateUser2() all over the place.Günther Deschner1-12/+30
Guenther (This used to be commit 701af69118c9634c7dc0d5c10152ce776787694d)
2008-02-01Use rpccli_samr_CreateDomainGroup() in net and rpcclient.Günther Deschner1-3/+15
Guenther (This used to be commit 7b7b10adcaa94de3fed9b5e925eeee714ffd1c50)
2008-02-01Use rpccli_samr_CreateDomAlias() in net and rpcclient.Günther Deschner1-2/+10
Guenther (This used to be commit 1248ec89d2d9a400f892f828126ce4e862de642f)
2008-02-01Use rpccli_samr_OpenUser() all over the place.Günther Deschner1-23/+40
Guenther (This used to be commit da90eb7653554d242da83ed98adae35ced3a2938)
2008-02-01Use rpccli_samr_OpenAlias() in net and rpcclient.Günther Deschner1-25/+35
Guenther (This used to be commit f66facc0f82e3d4c470d584d8ab0494fcb4ff5a2)
2008-02-01Use rpccli_samr_OpenGroup() all over the place.Günther Deschner1-15/+25
Guenther (This used to be commit d019fc69a986937880121c2587d3fe37f995edae)
2008-02-01Use rpccli_samr_OpenDomain() all over the place.Günther Deschner1-93/+141
Guenther (This used to be commit e4e9d72724d547e1405b2ed4cec509d50ec88c8d)
2008-02-01Use rpccli_samr_DeleteUser() in net and rpcclient.Günther Deschner1-3/+6
Guenther (This used to be commit 5bd8f7067db8479ad4beb8e49d9106e43495ecec)
2008-02-01Use rpccli_samr_DeleteDomAlias() in net and rpcclient.Günther Deschner1-2/+3
Guenther (This used to be commit bbed3aed5175589787cb1b233ce4e81ecc0c81fe)
2008-02-01Use rpccli_samr_DeleteDomainGroup() in net and rpcclient.Günther Deschner1-1/+2
Guenther (This used to be commit 8cc094ddb5c28c7378be6c655f3311ea6abb4f64)
2008-01-31Remove rpccli_samr_close and use pidl generated function instead.Günther Deschner1-17/+17
Guenther (This used to be commit 64f0889401855ab76953bfae5db4fe4df19ad8a5)
2008-01-25Trying to avoid defining new SAMR acct creation flags when we already have ↵Günther Deschner1-9/+11
them with different names. Matt, Jeremy, please check. Guenther (This used to be commit d4a9e46edf7336f673c001c559af96eb0ecf9f6f)
2008-01-23Forward ported version of Matt Geddes <musicalcarrion@gmail.com>Jeremy Allison1-7/+13
patch for adding acct_flags to rpccli_samr_create_dom_user(). Jerry please test. Jeremy. (This used to be commit 7d94f97947b7edfcf3ec52f0125e4593d6d54c05)
2008-01-15Apply const to rpccli_lsa_query_info_policy() and ↵Günther Deschner1-5/+6
rpccli_lsa_query_info_policy2(). Guenther (This used to be commit 7a3fe68bef7acde9d9f8a7a44ce7e9432f3c5a95)
2008-01-14Use pidl generated rpccli_lsa_QueryTrustedDomainInfoBySid when vampiring trustedGünther Deschner1-8/+14
domain secrets. Guenther (This used to be commit aa3de6f9f5b5375ca9f1e8a60a378afba1c0848b)
2007-12-28Improve error messages of 'net rpc user [add|delete]' commands.Karolin Seeger1-10/+14
Karolin (This used to be commit 4260c79bf7687bd2ebcc4ca5e0a5f020a759c1fb)
2007-12-15s/sid_to_string/sid_to_fstring/Volker Lendecke1-6/+6
least surprise for callers (This used to be commit eb523ba77697346a365589101aac379febecd546)
2007-12-15Replace sid_string_static with sid_string_tosVolker Lendecke1-1/+1
In utils/ I was a bit lazy... (This used to be commit 60e830b0f4571bd5d9039f2edd199534f2a4c341)
2007-12-15Replace sid_string_static by sid_string_dbg in DEBUGsVolker Lendecke1-2/+3
(This used to be commit bb35e794ec129805e874ceba882bcc1e84791a09)
2007-12-11Replace "unknown" with access_mask when calling samr_CreateUser2().Günther Deschner1-3/+3
Guenther (This used to be commit cfc6e7a2e657ee55364b739d9fe0093e4f7c8b27)
2007-12-07Remove next_token - all uses must now be next_token_talloc.Jeremy Allison1-6/+8
No more temptations to use static length strings. Jeremy. (This used to be commit ec003f39369910dee852b7cafb883ddaa321c2de)
2007-12-04More pstring elimination.Jeremy Allison1-2/+3
Jeremy. (This used to be commit c1f70793d615df57dc7b766d67db3e9eedd0e25e)
2007-12-03Remove pstring from clirap2 by completely rewriting the damnJeremy Allison1-3/+5
thing :-). Now with added paranoia. Jeremy. (This used to be commit b6b5f92bc9457220df384bdb13530c393d294ce7)
2007-12-03Fix shutdown callers.Günther Deschner1-6/+7
Guenther (This used to be commit de2fdc6b5a78932f8ea5cf4c4715296f18dae4d3)
2007-12-03Fix svcctl callers.Günther Deschner1-1/+1
Guenther (This used to be commit 91bf2ac1af66acd8bcc831e758b3765fc94b2485)
2007-12-03Actually implement reboot feature for net dom join/unjoin.Günther Deschner1-2/+2
Guenther (This used to be commit bbbeeba163f173d774937103a36560a4a4f49d4b)
2007-11-29Remove PSTRING_LEN from smbd/ nmbd/.Jeremy Allison1-2/+3
Remove pstring from libsmb/clidfs.c except for a nasty hack (that will be removed when pstrings are gone from client/). Jeremy. (This used to be commit cc257b71d13daa47e6f2315d0f07a60eb4aaeca6)
2007-11-27Remove pstrings from everything except srv_spoolss_nt.c.Jeremy Allison1-13/+13
Jeremy. (This used to be commit 0002a9e96b0ef78316295a6eb94ff29b64e2f988)
2007-10-24This is a large patch (sorry). Migrate from struct in_addrJeremy Allison1-15/+15
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-20/+20
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-192/+285
(This used to be commit 5c6c8e1fe93f340005110a7833946191659d88ab)
2007-10-10r25499: Fix rpc_file_list_internalsVolker Lendecke1-0/+3
(This used to be commit da5736f2103be2229cc3d4421c68f33b3242fa6d)
2007-10-10r25481: Fix some typos, don't panic as non-root on net getdomainsidVolker Lendecke1-2/+2
Thanks to Karolin Seeger <ks@sernet.de> (This used to be commit 5ae4b2739853e2cd91e839909eb868dbb56be431)
2007-10-10r25294: Tidy up callers of unistr2_to_ascii() to pass sizeof(target_area) toMichael Adam1-5/+5
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-10r25197: Change net_make_ipc_connection() and net_make_ipc_connection_ex() toMichael Adam1-8/+21
return NTSTATUS to allow for better error propagation. Michael (This used to be commit 46093004a788dae83a4ddb888ca5d72f555c236c)
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-10r23757: Fix Coverity id 386Volker Lendecke1-1/+5
(This used to be commit 91be38f7ab42991e04a41e91132137a834c10996)
2007-10-10r23627: Allow to pass down the lookup-level to rpccli_lsa_lookup_names().Günther Deschner1-1/+1
Guenther (This used to be commit e9a7512a9f630340004913f1379452eea8a9b6ae)
2007-10-10r23554: Fix bug #4711 by makeing cli_connect return an NTSTATUS.Jeremy Allison1-1/+3
Long overdue fix.... Jeremy. (This used to be commit 073fdc5a58139796dbaa7ea9833dca5308f11282)
2007-10-10r22867: With Samba4's IDL, we now have two new flags for share types: ↵Alexander Bokovoy1-1/+1
STYPE_TEMPORARY and STYPE_HIDDEN Strip them out when referencing share_type[] entries. Apparently, some Windows XP installs create shares set to STYPE_HIDDEN by default, found by Damir Shayhutdinov <damir@altlinux.org>. This also fixes smb4k crashes as it does call 'net share -l'. (This used to be commit c3f4fdd37e62491a11d3993864ba51fdb596ea1b)
2007-10-10r21768: Fix the client dfs code such that smbclient canJeremy Allison1-2/+10
process deep dfs links (ie. links that go to non root parts of a share). Make the directory handling conanonical in POSIX and Windows pathname processing. dfs should not be fully working in client tools. Please bug me if not. Jeremy. (This used to be commit 1c9e10569cd97ee41de39f9f012bea4e4c932b5d)
2007-10-10r21755: Memory leak fixes from Zack Kirsch <zack.kirsch@isilon.com>.Jeremy Allison1-0/+9
Jeremy. (This used to be commit 02d08ca0be8c374e30c3c0e665853fa9e57f043a)
2007-10-10r21609: Fix memory leaks in error code paths (and one in winbindd_group.c).Jeremy Allison1-0/+22
Patch from Zack Kirsch <zack.kirsch@isilon.com>. Jeremy. (This used to be commit df07a662e32367a52c1e8473475423db2ff5bc51)
2007-10-10r20917: Fix missing error returns pointed out by "Li, Ying (ESG)" ↵Jeremy Allison1-0/+3
<ying.li2@hp.com> Jeremy. (This used to be commit 78387b3cd2e4eff8f09b6c498ca37b016ed9ecbc)
2007-10-10r20832: Remove extra pointers previously added to unique [out] pointers. ↵Jelmer Vernooij1-10/+8
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-10r20824: Send access to the trusted domain passwords through the pdb backend, ↵Volker Lendecke1-9/+9
so that in the next step we can store them in LDAP to be replicated across DCs. Thanks to Michael Adam <ma@sernet.de> Volker (This used to be commit 3c879745cfc39be6128b63a88ecdbfa3d9ce6c2d)
2007-10-10r19797: Convert the remaining pipes to the "new" unique out ptr handlingVolker Lendecke1-14/+18
(This used to be commit bc4e0a388a2859d2ddcfb8f07920f3b121a37894)
2007-10-10r19447: Do not throw away informationVolker Lendecke1-4/+1
(This used to be commit 141e0dd7174462d0df642f6055eb3f35df107bac)
2007-10-10r19446: Comment can be NULL nowVolker Lendecke1-1/+2
(This used to be commit f4dcb9bd56dc61bc2d254f1fb8a648ef9fc6aa8f)