summaryrefslogtreecommitdiff
path: root/source3/utils/net_rpc.c
AgeCommit message (Collapse)AuthorFilesLines
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)
2008-03-10Use rpccli_srvsvc_NetShareAdd in net.Günther Deschner1-11/+45
Guenther (This used to be commit 6686d97617cc0a630ea1ab1c30f741943f151db6)
2008-03-10Use rpccli_srvsvc_NetShareGetInfo in 2 places in "net".Günther Deschner1-24/+23
Guenther (This used to be commit 2ce76ce2bccefb4a072bed039a4837ae334dea55)
2008-03-07Use rpccli_srvsvc_NetShareDel in net.Günther Deschner1-4/+13
Guenther (This used to be commit 10d457152e8547646353f0f37f51ac92561505ef)
2008-02-27Add my copyright.Günther Deschner1-1/+1
Guenther (This used to be commit d078a8757182d84dfd3307a2e1b751cf173aaa97)
2008-02-26Fix some typos.Karolin Seeger1-3/+3
Karolin (This used to be commit 71f05a1f9656c4a50dd4b8b08575be6536e92288)
2008-02-13Remove const on policy handle in net rpc.Günther Deschner1-10/+9
Volker, are you ok with that? Guenther (This used to be commit f1c7fa19e43d720f0d42e6d1999130462d5979da)
2008-02-13Use rpccli_lsa_EnumTrustDom all over the place.Günther Deschner1-23/+26
Guenther (This used to be commit a25e7ffbca9c2c97dd36b0596e7cb38a72aaf9d9)
2008-02-12Collect all init_lsa_string varients in one place.Günther Deschner1-5/+0
Guenther (This used to be commit f4581e9f4482566fba9436d5ae058b8d840fa394)
2008-02-12Use rpccli_samr_SetUserInfo2() in place of rpccli_samr_set_userinfo().Günther Deschner1-56/+51
Guenther (This used to be commit 1b48b9d73d971ef18b8a2ea240e48902b703b74b)
2008-02-12Remove all callers of rpccli_samr_setuserinfo2 and replace withGünther Deschner1-21/+18
rpccli_samr_SetUserInfo (see the opcode mixup in rpc_samr.h). Guenther (This used to be commit bdc49185036060ebb9c727767dce52e4b01bd8b4)