summaryrefslogtreecommitdiff
path: root/source3/utils/net_rpc.c
AgeCommit message (Collapse)AuthorFilesLines
2008-08-29net: use netapi for rpc_user_rename.Günther Deschner1-113/+15
Guenther (This used to be commit fe28ea1afd4024673f847fc8880910b1f7f0385a)
2008-07-31netapi: when using NetApi functions forward net's kerberos setting.Günther Deschner1-0/+6
Guenther (This used to be commit d46f648d2e25ad712138f02e5060288278f4c1b1)
2008-07-31net: Use NetLocalGroupAdd() for adding aliases.Günther Deschner1-62/+21
Guenther (This used to be commit 2ed4ce0bf1723e35a6c5dfa7f8fa58fb9c7ab469)
2008-07-31rpc_client: use init_samr_CryptPassword(Ex) in client tools.Günther Deschner1-13/+11
Guenther (This used to be commit 97f7f9f21f17e8414de15953cf4eaa9959dc6f75)
2008-07-21Refactoring: connect_dst_pipe uses ndr_syntax_id instead of pipe_idxVolker Lendecke1-2/+4
(This used to be commit 0f77746f36b98acc5171727fa3fc236af9fd2000)
2008-07-21Refactoring: net_sh_run uses ndr_syntax_id instead of pipe_idxVolker Lendecke1-17/+17
(This used to be commit 85c8363d5179e7053adc05e8abce2fb26cf9b968)
2008-07-21Refactoring: run_rpc_command uses ndr_syntax_id instead of pipe_idxVolker Lendecke1-72/+80
(This used to be commit 850166ec0d17eb85a0c921dc3b966fac0677af4a)
2008-07-20Refactoring: Change calling conventions for cli_rpc_pipe_open_schannelVolker Lendecke1-5/+5
Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS (This used to be commit 1fcfca007f33a2c4e979abf30c2ea0db65bac718)
2008-07-20Refactoring: Change calling conventions for cli_rpc_pipe_open_ntlmsspVolker Lendecke1-6/+5
Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS (This used to be commit a13f0599551609394904b99e4014d580ec65c506)
2008-07-20Refactoring: Change calling conventions for cli_rpc_pipe_open_noauthVolker Lendecke1-21/+32
Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS (This used to be commit 9abc9dc4dc13bd3e42f98eff64eacf24b51f5779)
2008-06-28Fix the buildVolker Lendecke1-3/+4
(This used to be commit 242077f714c738642edd125449ab5c89748bcecd)
2008-06-27Fix bug #5568 net rpc trustdom add broken !Jeremy Allison1-3/+23
net rpc trustdom add was broken. The default 10second timeout can be too short to create an account on a Samba DC (calling out to a script), error message reporting was poor, and more importantly the new marshalling code for user_info23 was broken (maps onto a user_info21 but doesn't clear the user_info23 struct before marshalling, leaving an uninitialized size field - give "alloc failure"). Jeremy. (This used to be commit e072b3667e590ba6dd1d9a47fb616a53753fa83e)
2008-06-27Fix usage message for net rpc trustdom add.Jeremy Allison1-2/+2
Jeremy. (This used to be commit 20e59faf6efce01887cd01f0cafb197cc2f4742e)
2008-06-24net: add basic support for sealed RPC connections (using NET_FLAGS_SEAL).Günther Deschner1-1/+10
Guenther (This used to be commit 7541a0103ad22000e94ffc6d057ffd5d33d1a930)
2008-06-24net_vampire: add code to vampire a SAM database to a keytab file.Günther Deschner1-0/+9
Guenther (This used to be commit ee6e422c0e035aa4779fa718bb6f142827cc2de0)
2008-06-13net_vampire: split out rpc_vampire_ldif().Günther Deschner1-8/+26
Guenther (This used to be commit bcc6d3a0ebdcb904b5a2a4de63d9ed7415e9bb33)
2008-06-12net: Fix several typos in comments.Karolin Seeger1-398/+398
-argc -> argv (where argv is meant) -destoyed -> destroyed -compleation -> completion -aquired -> acquired -Unify spelling of some words like rpc-server -> RPC server. -Add missing punctuation marks. Karolin (This used to be commit f4850c37df166c3ab4ec3c532aefd87b5c7e2ad8)
2008-06-10net: Rename functable3 to functable, get rid of old functablesKai Blin1-20/+20
(This used to be commit bb7c5fc4ec77db4073d3beccf12af12910b6bd07)
2008-06-10net: Make "net rpc" use functable3Kai Blin1-311/+907
(This used to be commit 428b56863c3963ecd041b8398d5683c92fa64307)
2008-06-06netapi: use NetGroupSetInfo() for "net rpc group rename".Günther Deschner1-73/+18
Guenther (This used to be commit 8a4577ebb00b0b190f6a9c708a1bc6e1bc8f9712)
2008-06-03net: Use NetGroupAdd() for adding domain groups.Günther Deschner1-61/+30
Guenther (This used to be commit 3f0ce34c626e7d4199239faee2ea3b4933c9df26)
2008-05-27A few cleanups from Chere Zhou <chere.zhou@isilon.com>.Jeremy Allison1-0/+5
Jeremy. Conflicts: source/utils/net_rap.c source/utils/net_rpc.c (This used to be commit ac0c2fb6e8c3d1b14a6e7490857a414a5fac6bb5)
2008-05-20net: The top level help function for net cmd is always net_cmd_usageKai Blin1-5/+6
(This used to be commit f7d0903a58b0b0fc248a613937a101f15baa5311)
2008-05-20net: Move printer help to net_rpc where it's used.Kai Blin1-1/+27
(This used to be commit 2ee3d1aefab8dada5bd05a92b72776554617b7f9)
2008-05-20net: Split out "net share"Kai Blin1-1/+1
(This used to be commit 25d4c6f692cf50d675a1de7c6eaeed271f349289)
2008-05-20net: Split out "net file"Kai Blin1-1/+1
(This used to be commit 84a116be9c849900678e6e0a4b012e819e697c78)
2008-05-20net: Split out "net group"Kai Blin1-1/+1
(This used to be commit 3ddd9c09e3b51df01ac34a9a1537e8954d2b1167)
2008-05-20net: Split out "net user"Kai Blin1-1/+1
(This used to be commit 4ca08a5acc90c77d56f8f3e38443f23f43f034e8)
2008-05-20net: Use true/false instead of True/False.Kai Blin1-46/+46
(This used to be commit a8b567aac3b0e39cfe67fb97167b10312ca5e73a)
2008-05-10net: more whitespace cleanupKai Blin1-260/+260
(This used to be commit ef0184d580500734fc7af51e1c790b075180a3d0)
2008-05-10net: Remove globalsKai Blin1-368/+512
(This used to be commit 1e9319cf88b65a2a8d4f5099a1fe5297e405ed2e)
2008-04-21Remove the "pwd" struct from rpc_pipe_clientVolker Lendecke1-2/+7
The only user of this was decrypt_trustdom_secret, and this only needs the NT hash anyway. (This used to be commit 3d8c2a47e677a4c4aacf4abf148b1bd8163c3351)
2008-04-21net: Add libnetapi context to net's impressive list of globals.Günther Deschner1-6/+5
Guenther (This used to be commit 8a5fadf6a183e4e4ccc77283b3ddba0748c6abfb)
2008-04-20Introduce rpc_pipe_np_smb_conn()Volker Lendecke1-10/+11
This abstracts away all references to rpc_pipe_client->cli, the only reference is now in cli_pipe.c. (This used to be commit c56e1c08cef107ff33a34346ceeca3475a102b19)
2008-04-20Replace cli_rpc_pipe_close by a talloc destructor on rpc_pipe_structVolker Lendecke1-9/+9
(This used to be commit 99fc3283c4ecc791f5a242bd1983b4352ce3e6cf)
2008-04-20Add "desthost" to rpc_pipe_clientVolker Lendecke1-32/+32
This reduces the dependency on cli_state (This used to be commit 783afab9c891dd7bcb78895b2a639b6f3a0edf5b)
2008-04-16net: Remove unused rpc_user_add/del_internals code.Günther Deschner1-257/+0
Guenther (This used to be commit e68daef0ee051515c8f489820fde9110747e8aa6)
2008-04-16net: Use NetUserAdd for "net rpc user add".Günther Deschner1-2/+28
Guenther (This used to be commit 4868b4ea1a18d4218330c49bf57818c4b5117d1d)
2008-04-16net: use NetUserDel for "net rpc user delete".Günther Deschner1-3/+31
Guenther (This used to be commit 0105770c1598e6fcbcaa29e17f3b7fd33114a333)
2008-04-09Fix typos.Karolin Seeger1-1/+1
Karolin (This used to be commit 6cee34703503fbf3629057345fe221b866560648)
2008-04-09Fix parameters string for rpc_trustdom_add_internals().Günther Deschner1-2/+4
Guenther (This used to be commit e161bb64a8348ecf7929dbc04d5923d8bd3542ad)
2008-04-08Fix lsa_TrustedDomainInfo callers.Günther Deschner1-7/+3
Guenther (This used to be commit e0eae3901750c7b76560bbab9a86f24a64d42c8b)
2008-04-06net_rpc: let get_user_sids() use wbcLookupName(), wbcGidToSid() and ↵Stefan Metzmacher1-51/+47
wbcGetGroups() metze (This used to be commit 31375c02631cb3f37a8bbd4ea17d3ef69c4d07bf)
2008-04-06net_rpc: let get_user_tokens() use wbcListUsers()Stefan Metzmacher1-38/+22
metze (This used to be commit 4f712452e911db1f0aa74e3ccd636c1a18bdf9ef)
2008-04-02Fix "net rpc trustdom establish" for win2k8 trusts.Günther Deschner1-14/+52
When establishing trusts to a windows 2008 dc, the NetServerEnum2 RAP call fails with some exotic RAP failure. Let's just try a netlogon getdcname call in that case to convince ourselve we're talking to a proper machine. Rafael, looks ok? Guenther (This used to be commit b12edbeffee1f7d1fd971cde9189e5137ddeb35b)
2008-04-01Fix SRVSVC NetShareInfo level 502 client-side.Günther Deschner1-2/+2
Guenther (This used to be commit 8b4eac0ab186c02666693d3f007f0c98d60e0eda)
2008-03-17Some simplificationsVolker Lendecke1-1/+1
(This used to be commit b59b436997fba47afd02ffb6f1194dfaef229d44)
2008-03-17Coverity fixesMarc VanHeyningen1-2/+5
(This used to be commit 3fc85d22590550f0539215d020e4411bf5b14363)
2008-03-10Use rpccli_srvsvc_NetFileEnum in net and rpcclient.Günther Deschner1-19/+27
Guenther (This used to be commit 348af272f7c0dc0cb316cc06780339dd13eafd0f)
2008-03-10Convert "net" to use rpccli_srvsvc_NetShare* interfaces everywhere.Günther Deschner1-182/+119
Guenther (This used to be commit 3b21ee37388627c47177f79c16f003da06e8fdd9)