99526d391d
Refactoring: Change calling conventions for cli_rpc_pipe_open_schannel
...
Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS
(This used to be commit 1fcfca007f
)
2008-07-20 17:37:14 +02:00
e0be03d8d5
Refactoring: Change calling conventions for cli_rpc_pipe_open_ntlmssp
...
Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS
(This used to be commit a13f059955
)
2008-07-20 17:37:11 +02:00
1335da2a7c
Refactoring: Change calling conventions for cli_rpc_pipe_open_noauth
...
Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS
(This used to be commit 9abc9dc4dc
)
2008-07-20 17:37:11 +02:00
3353565faf
Fix the build
...
(This used to be commit 242077f714
)
2008-06-28 10:38:51 +02:00
f083c1f57e
Fix bug #5568 net rpc trustdom add broken !
...
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 e072b3667e
)
2008-06-27 17:26:41 -07:00
23e4a41362
Fix usage message for net rpc trustdom add.
...
Jeremy.
(This used to be commit 20e59faf6e
)
2008-06-27 15:28:45 -07:00
a8332b91ef
net: add basic support for sealed RPC connections (using NET_FLAGS_SEAL).
...
Guenther
(This used to be commit 7541a0103a
)
2008-06-24 23:45:09 +02:00
adef1b004b
net_vampire: add code to vampire a SAM database to a keytab file.
...
Guenther
(This used to be commit ee6e422c0e
)
2008-06-24 23:40:14 +02:00
8049d3aa8e
net_vampire: split out rpc_vampire_ldif().
...
Guenther
(This used to be commit bcc6d3a0eb
)
2008-06-13 23:39:09 +02:00
49a81672d2
net: Fix several typos in comments.
...
-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 f4850c37df
)
2008-06-12 10:59:02 +02:00
255bdb2602
net: Rename functable3 to functable, get rid of old functables
...
(This used to be commit bb7c5fc4ec
)
2008-06-10 09:48:21 +02:00
c51ca559c1
net: Make "net rpc" use functable3
...
(This used to be commit 428b56863c
)
2008-06-10 09:47:28 +02:00
a3353677d3
netapi: use NetGroupSetInfo() for "net rpc group rename".
...
Guenther
(This used to be commit 8a4577ebb0
)
2008-06-06 13:59:09 +02:00
2bad004f8a
net: Use NetGroupAdd() for adding domain groups.
...
Guenther
(This used to be commit 3f0ce34c62
)
2008-06-03 01:27:41 +02:00
5e4d4c8ace
A few cleanups from Chere Zhou <chere.zhou@isilon.com>.
...
Jeremy.
Conflicts:
source/utils/net_rap.c
source/utils/net_rpc.c
(This used to be commit ac0c2fb6e8
)
2008-05-27 13:56:55 -07:00
0210f7af91
net: The top level help function for net cmd is always net_cmd_usage
...
(This used to be commit f7d0903a58
)
2008-05-20 14:28:12 +02:00
1634bd92ea
net: Move printer help to net_rpc where it's used.
...
(This used to be commit 2ee3d1aefa
)
2008-05-20 14:28:03 +02:00
f9a6d1f264
net: Split out "net share"
...
(This used to be commit 25d4c6f692
)
2008-05-20 14:28:01 +02:00
c9ca6092fe
net: Split out "net file"
...
(This used to be commit 84a116be9c
)
2008-05-20 14:27:47 +02:00
007f0e19dc
net: Split out "net group"
...
(This used to be commit 3ddd9c09e3
)
2008-05-20 14:27:40 +02:00
572de942c7
net: Split out "net user"
...
(This used to be commit 4ca08a5acc
)
2008-05-20 14:27:27 +02:00
16938883e6
net: Use true/false instead of True/False.
...
(This used to be commit a8b567aac3
)
2008-05-20 14:27:08 +02:00
4206d97544
net: more whitespace cleanup
...
(This used to be commit ef0184d580
)
2008-05-10 09:22:31 +02:00
f576910944
net: Remove globals
...
(This used to be commit 1e9319cf88
)
2008-05-10 09:22:27 +02:00
b78453326b
Remove the "pwd" struct from rpc_pipe_client
...
The only user of this was decrypt_trustdom_secret, and this only needs the NT
hash anyway.
(This used to be commit 3d8c2a47e6
)
2008-04-21 23:36:05 +02:00
ba0bf87d96
net: Add libnetapi context to net's impressive list of globals.
...
Guenther
(This used to be commit 8a5fadf6a1
)
2008-04-21 20:21:40 +02:00
b9cc055062
Introduce rpc_pipe_np_smb_conn()
...
This abstracts away all references to rpc_pipe_client->cli, the only reference
is now in cli_pipe.c.
(This used to be commit c56e1c08ce
)
2008-04-20 14:08:16 +02:00
e73e8297f5
Replace cli_rpc_pipe_close by a talloc destructor on rpc_pipe_struct
...
(This used to be commit 99fc3283c4
)
2008-04-20 14:08:16 +02:00
2a2188591b
Add "desthost" to rpc_pipe_client
...
This reduces the dependency on cli_state
(This used to be commit 783afab9c8
)
2008-04-20 00:13:09 +02:00
409e093334
net: Remove unused rpc_user_add/del_internals code.
...
Guenther
(This used to be commit e68daef0ee
)
2008-04-16 10:09:07 +02:00
004c2beef4
net: Use NetUserAdd for "net rpc user add".
...
Guenther
(This used to be commit 4868b4ea1a
)
2008-04-16 02:41:52 +02:00
cd87be5ba2
net: use NetUserDel for "net rpc user delete".
...
Guenther
(This used to be commit 0105770c15
)
2008-04-16 02:39:41 +02:00
a8124367b4
Fix typos.
...
Karolin
(This used to be commit 6cee347035
)
2008-04-09 16:14:04 +02:00
8d0ad6413e
Fix parameters string for rpc_trustdom_add_internals().
...
Guenther
(This used to be commit e161bb64a8
)
2008-04-09 13:18:46 +02:00
81579895a6
Fix lsa_TrustedDomainInfo callers.
...
Guenther
(This used to be commit e0eae39017
)
2008-04-08 22:55:52 +02:00
74325d79ad
net_rpc: let get_user_sids() use wbcLookupName(), wbcGidToSid() and wbcGetGroups()
...
metze
(This used to be commit 31375c0263
)
2008-04-06 13:43:28 +02:00
1e39a6196c
net_rpc: let get_user_tokens() use wbcListUsers()
...
metze
(This used to be commit 4f712452e9
)
2008-04-06 13:43:28 +02:00
832adaa5ab
Fix "net rpc trustdom establish" for win2k8 trusts.
...
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 b12edbeffe
)
2008-04-02 12:29:24 +02:00
003472ae23
Fix SRVSVC NetShareInfo level 502 client-side.
...
Guenther
(This used to be commit 8b4eac0ab1
)
2008-04-01 00:26:32 +02:00
c5356479c1
Some simplifications
...
(This used to be commit b59b436997
)
2008-03-17 21:10:16 +01:00
e06aa46b9f
Coverity fixes
...
(This used to be commit 3fc85d2259
)
2008-03-17 20:52:25 +01:00
cfa16eaca0
Use rpccli_srvsvc_NetFileEnum in net and rpcclient.
...
Guenther
(This used to be commit 348af272f7
)
2008-03-10 17:08:55 +01:00
b7b89bf808
Convert "net" to use rpccli_srvsvc_NetShare* interfaces everywhere.
...
Guenther
(This used to be commit 3b21ee3738
)
2008-03-10 16:19:25 +01:00
758ceaaaaf
Use rpccli_srvsvc_NetShareAdd in net.
...
Guenther
(This used to be commit 6686d97617
)
2008-03-10 14:46:27 +01:00
0f64ce0179
Use rpccli_srvsvc_NetShareGetInfo in 2 places in "net".
...
Guenther
(This used to be commit 2ce76ce2bc
)
2008-03-10 05:17:09 +01:00
8e1fe6379d
Use rpccli_srvsvc_NetShareDel in net.
...
Guenther
(This used to be commit 10d457152e
)
2008-03-07 23:51:34 +01:00
7269a504fd
Add my copyright.
...
Guenther
(This used to be commit d078a87571
)
2008-02-27 19:38:48 +01:00
79fa62a1bf
Fix some typos.
...
Karolin
(This used to be commit 71f05a1f96
)
2008-02-26 10:26:10 +01:00
a2c0ca84d5
Remove const on policy handle in net rpc.
...
Volker, are you ok with that?
Guenther
(This used to be commit f1c7fa19e4
)
2008-02-13 14:17:29 +01:00
0ba3d44f73
Use rpccli_lsa_EnumTrustDom all over the place.
...
Guenther
(This used to be commit a25e7ffbca
)
2008-02-13 00:29:37 +01:00