Volker Lendecke
e1102b8f48
Introduce rpccli_set_timeout()
...
Reduce dependency on "cli" member of rpc_pipe_client struct
(This used to be commit 2e4c1ba389
)
2008-04-20 00:14:26 +02:00
Volker Lendecke
9048cafbea
Move srv_name_slash from cli_state to rpc_pipe_client
...
(This used to be commit a9061e52e1
)
2008-04-20 00:14:13 +02:00
Volker Lendecke
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
Günther Deschner
51d9e913bb
Fix lsa_QueryTrustedDomainInfo caller.
...
Guenther
(This used to be commit 9f148daaf2
)
2008-04-08 23:09:24 +02:00
Günther Deschner
81579895a6
Fix lsa_TrustedDomainInfo callers.
...
Guenther
(This used to be commit e0eae39017
)
2008-04-08 22:55:52 +02:00
Günther Deschner
be9b46b2ce
Remove some dead code in rpcclient.
...
Guenther
(This used to be commit c7ae1a9b53
)
2008-04-04 01:44:16 +02:00
Günther Deschner
29f44dc144
Move rpccli_try_samr_connects out of rpcclient.
...
Guenther
(This used to be commit f550cdb6f2
)
2008-04-04 01:40:29 +02:00
Günther Deschner
99d3590455
Fix NETLOGON credential chain with Windows 2008 all over the place.
...
In order to avoid receiving NT_STATUS_DOWNGRADE_DETECTED from a w2k8
netr_ServerAuthenticate2 reply, we need to start with the AD netlogon negotiate
flags everywhere (not only when running in security=ads). Only for NT4 we need
to do a downgrade to the returned negotiate flags.
Tested with w2k8, w2ksp4, w2k3r2 and nt4sp6.
Guenther
(This used to be commit 0970369ca0
)
2008-04-02 11:12:47 +02:00
Günther Deschner
c523c2c3e6
Fix build of rpcclient.
...
Guenther
(This used to be commit 3cb1cdee93
)
2008-04-01 00:32:23 +02:00
Günther Deschner
4369c14a66
Re-add support for the samr parameters string.
...
(dialin settings, terminal server settings, etc.)
Guenther
(This used to be commit c4f248df8e
)
2008-03-31 20:55:40 +02:00
Michael Adam
9644b6cb50
Add a talloc context parameter to current_timestring() to fix memleaks.
...
current_timestring used to return a string talloced to talloc_tos().
When called by DEBUG from a TALLOC_FREE, this produced messages
"no talloc stackframe around, leaking memory". For example when
used from net conf.
This also adds a temporary talloc context to alloc_sub_basic().
For this purpose, the exit strategy is slightly altered: a common
exit point is used for success and failure.
Michael
(This used to be commit 16b5800d4e
)
2008-03-28 16:34:51 +01:00
Günther Deschner
6e026fff3f
Add ntsvcs_getdevregprop command to rpcclient.
...
Guenther
(This used to be commit 4abe30fdae
)
2008-03-26 16:46:58 +01:00
Volker Lendecke
7168f310a6
Fix Coverity ID 507
...
(This used to be commit 4ea5798b97
)
2008-03-21 11:45:57 +01:00
Günther Deschner
3c2d315b4c
Add support for setting resume handle in netsessenum rpcclient command.
...
Guenther
(This used to be commit a01588d65f
)
2008-03-21 04:16:21 +01:00
Günther Deschner
4489ad0998
Allow to set or unset resume_handle in netconnenum in rpcclient.
...
Guenther
(This used to be commit f1b93c24fe
)
2008-03-21 04:16:21 +01:00
Volker Lendecke
130b474e47
Fix bug 5338 -- thanks to Yuya Katayama <yuya999@gmail.com>
...
(This used to be commit 5ec2dbd144
)
2008-03-19 15:05:30 +01:00
Günther Deschner
fd62e5688b
Use existing srv_name_slash.
...
Guenther
(This used to be commit 5f2b3145fc
)
2008-03-12 16:35:41 +01:00
Günther Deschner
45a3c8275f
Allow to send no resume_handle in rpcclient's NetShareEnum* calls.
...
Guenther
(This used to be commit 7e178a3dc9
)
2008-03-11 11:33:07 +01:00
Günther Deschner
e45b6a595c
Fix netdiskenum call in rpcclient.
...
Guenther
(This used to be commit dcbfdd1330
)
2008-03-11 04:52:46 +01:00
Günther Deschner
0c10ab5cc3
Add netconnenum to rpcclient.
...
Guenther
(This used to be commit 627688c7ba
)
2008-03-10 18:54:18 +01:00
Günther Deschner
aa054bd6f3
Add netdiskenum to rpcclient.
...
Guenther
(This used to be commit 3ef4d6b524
)
2008-03-10 18:54:18 +01:00
Günther Deschner
cfa16eaca0
Use rpccli_srvsvc_NetFileEnum in net and rpcclient.
...
Guenther
(This used to be commit 348af272f7
)
2008-03-10 17:08:55 +01:00
Günther Deschner
28d5307034
Add netsessenum command to rpcclient.
...
Guenther
(This used to be commit f90306bd24
)
2008-03-10 03:43:40 +01:00
Günther Deschner
64adc15e66
Add netsessdel command to rpcclient.
...
Guenther
(This used to be commit 5e112ff3d7
)
2008-03-10 03:43:39 +01:00
Günther Deschner
62ca78bd27
Add netfilegetsec command to rpcclient.
...
Guenther
(This used to be commit 8c2c17573c
)
2008-03-08 23:05:54 +01:00
Günther Deschner
5e6e3ccd00
Add netnamevalidate command to rpcclient.
...
Guenther
(This used to be commit 140885d3d8
)
2008-03-07 23:51:34 +01:00
Günther Deschner
024cf110b0
Use pidl generated NetShareGet/SetInfo and Enum calls in rpcclient.
...
Guenther
(This used to be commit c940c62029
)
2008-03-07 22:58:48 +01:00
Günther Deschner
b0dad261ad
Use rpccli_srvsvc_NetRemoteTOD() in rpcclient.
...
Guenther
(This used to be commit 5e9d8cdc94
)
2008-03-05 10:38:13 +01:00
Günther Deschner
640f53fe5b
Use rpccli_srvsvc_NetSrvGetInfo() in rpcclient.
...
Guenther
(This used to be commit 4a74f1e8d2
)
2008-03-05 09:49:25 +01:00
Günther Deschner
7269a504fd
Add my copyright.
...
Guenther
(This used to be commit d078a87571
)
2008-02-27 19:38:48 +01:00
Günther Deschner
2d01ec2c39
Use new LSA_POLICY defines in lsa rpc server code and other places.
...
Guenther
(This used to be commit 58cca9faf9
)
2008-02-27 15:57:09 +01:00
Tim Potter
9053bdf57c
Fix off-by-one bugs in subcommand argument passing.
...
(This used to be commit d85a2782a4
)
2008-02-18 10:15:53 +01:00
Günther Deschner
4149868f85
Add ntsvcs_hwprofinfo command to rpcclient.
...
Guenther
(This used to be commit 8d8cf915f7
)
2008-02-18 01:38:21 +01:00
Günther Deschner
57814bccfb
Add ntsvcs_hwprofflags command to rpcclient.
...
Guenther
(This used to be commit c184a71146
)
2008-02-18 01:37:18 +01:00
Günther Deschner
2e75900641
Add ntsvcs_getdevlistsize command to rpcclient.
...
Guenther
(This used to be commit 9bc5068cc3
)
2008-02-18 00:27:01 +01:00
Günther Deschner
948bfd629e
Add ValidateDeviceInstance command to rpcclient.
...
Guenther
(This used to be commit a2e6727ff7
)
2008-02-17 23:45:02 +01:00
Günther Deschner
e99f740b0a
Add very basic ntsvcs client to rpcclient.
...
Guenther
(This used to be commit 0358ad7e93
)
2008-02-17 23:29:56 +01:00
Günther Deschner
eafec423b7
Use rpccli_netr_DatabaseSync2() in rpcclient.
...
Guenther
(This used to be commit 042173b00e
)
2008-02-15 14:11:20 +01:00
Günther Deschner
013a15a1b8
Use rpccli_netr_DatabaseDeltas() in rpcclient.
...
Guenther
(This used to be commit 72ad42fee3
)
2008-02-15 14:06:31 +01:00
Günther Deschner
f21cdab938
Use rpccli_lsa_RemoveAccountRights() in net and rpcclient.
...
Guenther
(This used to be commit 78200d8892
)
2008-02-14 15:28:26 +01:00
Günther Deschner
7b5ef3569f
Use rpccli_lsa_EnumAccountRights in net and rpcclient.
...
Guenther
(This used to be commit 6e9195329d
)
2008-02-14 15:09:21 +01:00
Günther Deschner
96aa5dea8e
Use rpccli_lsa_AddAccountRights in net and rpcclient.
...
Guenther
(This used to be commit e94ded74d6
)
2008-02-14 14:40:26 +01:00
Günther Deschner
55e5e753bb
Add lsaaddpriv and lsadelpriv commands to rpcclient.
...
Guenther
(This used to be commit e55bb83f84
)
2008-02-14 13:53:28 +01:00
Günther Deschner
a75d6543a0
Use rpccli_lsa_LookupPrivValue() in rpcclient.
...
Guenther
(This used to be commit c15243dd1f
)
2008-02-14 13:53:27 +01:00
Günther Deschner
eccaf125a9
Use rpccli_lsa_EnumPrivsAccount() in rpcclient.
...
Guenther
(This used to be commit c28b52dcfe
)
2008-02-14 13:13:09 +01:00
Günther Deschner
f9d992827a
Remove accidential commit.
...
Guenther
(This used to be commit 2ab1167e15
)
2008-02-14 01:54:07 +01:00
Günther Deschner
2b84f4119d
Use rpccli_lsa_EnumAccounts() in net and rpcclient.
...
Guenther
(This used to be commit bdbcfa4419
)
2008-02-14 01:32:56 +01:00
Günther Deschner
6f05330e4a
Fix logonctrl2 command in rpcclient.
...
Guenther
(This used to be commit c58be24cd4
)
2008-02-13 23:01:33 +01:00
Günther Deschner
c6acbc16a6
Use rpccli_netr_LogonControl() in rpcclient.
...
Guenther
(This used to be commit d54456f3c4
)
2008-02-13 12:19:20 +01:00
Günther Deschner
0ba3d44f73
Use rpccli_lsa_EnumTrustDom all over the place.
...
Guenther
(This used to be commit a25e7ffbca
)
2008-02-13 00:29:37 +01:00