1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

1166 Commits

Author SHA1 Message Date
Volker Lendecke
57de60a83f cli_get_pipe_name_from_interface does not really need a talloc_ctx 2009-02-01 14:34:22 +01:00
Günther Deschner
2eb5dacbb8 s3-rpcclient: add eventlog_loginfo command.
Guenther
2009-01-24 03:33:47 +01:00
Günther Deschner
ecad0b9335 s3-rpcclient: add eventlog_backuplog command.
Guenther
2009-01-24 03:33:44 +01:00
Günther Deschner
c92ec31d30 s3-rpcclient: add eventlog_registerevsource command.
Guenther
2009-01-24 03:33:43 +01:00
Günther Deschner
bfc2d3bf0a s3-rpcclient: add eventlog_reporteventsource command.
Guenther
2009-01-24 03:33:25 +01:00
Günther Deschner
f1067c0ffc s3-rpcclient: add eventlog_reportevent command.
Guenther
2009-01-24 03:33:23 +01:00
Volker Lendecke
3b34486f6a Actually complete 3662c2b... 2009-01-22 12:13:55 +01:00
Günther Deschner
a950242143 s3-rpcclient: always parse the full eventlog entry.
Guenther
2009-01-14 10:18:14 +01:00
Günther Deschner
4561721cc3 s3-rpcclient: some cleanup for eventlog client.
Guenther
2009-01-12 18:04:03 +01:00
Volker Lendecke
ad6e9c6012 start rpcclient epmapper 2009-01-09 23:08:16 +01:00
Günther Deschner
8cddcefb13 s3-rpcclient: add eventlog test client.
Guenther
2009-01-08 19:37:29 +01:00
Günther Deschner
46f55ef5bc s3-samr: avoid all init_samr_user* functions.
Guenther
2009-01-06 16:02:10 +01:00
Jeremy Allison
07e0094365 Fix all warnings in source3 with gcc4.3.
Jeremy.
2008-12-31 18:06:57 -08:00
Volker Lendecke
daeb3a190d Remove the global "cmdline_auth_info" from source3/lib/util.c
This involves changing all our clients, that's why it's so large.
2008-12-14 14:00:43 +01:00
Günther Deschner
8be38511a3 s3-rpcclient: add setuserinfo to set passwords using level 18,21,23,24,25,26.
Guenther
2008-12-05 14:27:03 +01:00
Günther Deschner
e97149087a s3-samr: fix rpcclient after idl change.
Guenther
2008-12-05 14:27:03 +01:00
Günther Deschner
e9269e57fc s3-rpcclient: add get_domain_handle for samr commands.
Guenther
2008-12-05 14:27:02 +01:00
Tim Prouty
1eb743ab8e s3: Change sockaddr util function names for consistency
Also eliminates name conflicts with OneFS system libraries
2008-12-03 10:40:20 -08:00
Günther Deschner
798c4b3e6a s3-samr: use samr_DomainServerState in client tools.
Guenther
2008-12-02 00:37:39 +01:00
Günther Deschner
9b40d26e30 s3-rpcclient: fix cmd_ntsvcs_get_dev_reg_prop.
Guenther
2008-11-19 23:25:16 +01:00
Günther Deschner
2fbdf22541 s3-rpcclient: fill in unknowns in cmd_ntsvcs_get_hw_prof_info.
Guenther
2008-11-17 13:13:30 +01:00
Günther Deschner
0bb8665731 s3-rpcclient: correct some former unknonws in cmd_ntsvcs_hw_prof_flags command.
Guenther
2008-11-12 10:19:17 +01:00
Günther Deschner
0241b2cbda s3-rpcclient: some corrections for the PNP_GetDeviceRegProp client.
Guenther
2008-11-12 10:18:46 +01:00
Günther Deschner
17fe93f94b s3-rpcclient: add ntsvcs_getdevlist command.
Guenther
2008-11-12 10:18:26 +01:00
Günther Deschner
365a703d13 s3-rpcclient: add ntsvcs_getdevlistsize command.
Guenther
2008-11-12 10:18:18 +01:00
Günther Deschner
008ac81b31 s3-rpcclient: add database_redo command.
Guenther
2008-11-06 18:51:38 +01:00
Jelmer Vernooij
ddcab787c4 Rename dos_errstr() to win_errstr() for consistency with Samba 4. 2008-11-01 17:19:26 +01:00
Günther Deschner
68aa9bd67f s3-rpcclient: add getdcsitecoverage call.
Guenther
2008-10-27 14:29:04 +01:00
Volker Lendecke
f4e760faf9 Fix bug 5840: Segfault in "rpcclient lsaaddacctrights" 2008-10-22 14:31:40 +02:00
Günther Deschner
b11f3a60fd s3-lsa-server: fix _lsa_GetUserName.
Guenther
2008-10-21 11:39:45 +02:00
Günther Deschner
cefe4c6697 s3-rpcclient: fix cmd_lsa build.
Guenther
2008-10-20 22:09:07 +02:00
Jelmer Vernooij
f3f9446ec1 Rename hex_encode to hex_encode_talloc,for consistency with samba 4 and heimdal. 2008-10-18 16:16:57 +02:00
Günther Deschner
6503ffaa04 s3: fix s3 drsuapi callers.
Guenther
2008-10-17 10:54:01 +02:00
Günther Deschner
f0dcc1fad4 s4-build: fix drsuapi callers.
Guenther
2008-10-16 14:03:10 +02:00
Günther Deschner
65dc1eeceb s3: fix various samr callers.
Guenther
2008-10-15 17:11:27 +02:00
Günther Deschner
3b9a03a7c3 s3: fix samlogon client and server calls.
Guenther
2008-10-15 16:14:20 +02:00
Jelmer Vernooij
1f3e4f39c5 Use GUID_string rather than smb_uuid_string(). 2008-10-14 02:26:18 +02:00
Jelmer Vernooij
cb78d4593b Cope with changed signature of http_timestring(). 2008-10-11 23:57:44 +02:00
Michael Adam
3ed6cfad01 rpcclient: Set the pid filed of the outgoing DsBindInfo to 0.
This is for debugging and informational purposes only.
The assignment is implementation specific.
(WSPP docs, sec. 5.35).

Michael
(This used to be commit 18ea033909)
2008-07-28 14:08:34 +02:00
Michael Adam
2bd58bf383 Change occurrences of the u1 member of DsBindInfo* to pid after idl change.
Michael
(This used to be commit 42f3d681ca)
2008-07-22 16:28:13 +02:00
Michael Adam
2d7660dcc3 rpcclient: make DsGetNCChanges work against w2k8 (add knowledge of DsBindInfo48)
Michael
(This used to be commit 27ce662f5d)
2008-07-22 14:47:11 +02:00
Volker Lendecke
82b5f54f96 Refactoring: rpcclient uses ndr_syntax_id instead of pipe_idx
(This used to be commit 85db87c451)
2008-07-21 14:36:27 +02:00
Volker Lendecke
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
Volker Lendecke
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
Volker Lendecke
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
Michael Adam
4f0e0e5e83 rpcclient: add ability to fetch single objects with dsgetncchanges command
call as "dsgetncchanges <object_dn> single"

after calling "seal"

Michael
(This used to be commit c9ab2953c5)
2008-07-18 15:15:49 +02:00
Michael Adam
f52b17f25c rpcclient: use level 5 or level 8 in dsgetncchanges command based on bind-info.
Michael
(This used to be commit 3ab2e7fada)
2008-07-18 14:34:46 +02:00
Günther Deschner
9ec4980161 rpcclient: for testing, add dsgetncchanges command.
Guenther
(This used to be commit 54f14b3824)
2008-07-17 18:54:11 +02:00
Volker Lendecke
5a63e1dcb6 Fix a segfault in rpcclient adddriver
(cherry picked from commit d4b5a9d673)
(This used to be commit 8573032877)
2008-06-26 15:35:56 +02:00
Günther Deschner
7139745b01 rpcclient: add samr chgpasswd command.
Guenther
(This used to be commit b90ae34372)
2008-06-25 23:58:50 +02:00
Günther Deschner
14d500c0e7 rename rpccli_samr_chgpasswd3 to rpccli_samr_chgpasswd_user3.
Guenther
(This used to be commit b1209a039b)
2008-06-25 23:58:50 +02:00
Günther Deschner
059293cbf4 rename rpccli_samr_chgpasswd_user to rpccli_samr_chgpasswd_user2.
Guenther
(This used to be commit 5b4650d56c)
2008-06-25 23:58:50 +02:00
Günther Deschner
8fd045f918 rpcclient: add more generic internal dscracknames call.
Guenther
(This used to be commit 2351b0845c)
2008-06-17 20:01:51 +02:00
Karolin Seeger
98ed31a107 Fix typo.
arguements -> arguments

Karolin
(This used to be commit 16b5b772d2)
2008-06-17 09:46:17 +02:00
Günther Deschner
9883567fa7 rpcclient: add more useful comments what sign/seal commands are doing.
Guenther
(This used to be commit ec278d8bc8)
2008-06-10 22:51:04 +02:00
Günther Deschner
09f55d0ef6 rpcclient: add drsuapi dsgetdcinfo call.
Guenther
(This used to be commit 1e883c88cb)
2008-05-26 12:21:11 +02:00
Günther Deschner
6db0efbea0 rpcclient: call drsuapi_DsUnbind() when finished with DsCrackNames call.
Guenther
(This used to be commit d70376fc4f)
2008-05-26 12:21:11 +02:00
Günther Deschner
b83131a16f rpcclient: simplify drsuapi dscracknames call slightly.
Guenther
(This used to be commit 5611cf4253)
2008-05-26 12:21:11 +02:00
Günther Deschner
fb05d41cb7 drsuapi: add very basic drsuapi rpcclient command set.
Guenther
(This used to be commit bd13c87bac)
2008-05-24 01:28:22 +02:00
Günther Deschner
36f67dc5e0 Revert "drsuapi: fix the build."
This reverts commit b2421c8116.
(This used to be commit f853f3b0ac)
2008-05-24 01:24:03 +02:00
Günther Deschner
0eae576b19 drsuapi: fix the build.
Guenther
(This used to be commit b2421c8116)
2008-05-24 00:58:45 +02:00
Tim Prouty
fb37f15600 Cleanup size_t return values in callers of convert_string_allocate
This patch is the second iteration of an inside-out conversion to cleanup
functions in charcnv.c returning size_t == -1 to indicate failure.
(This used to be commit 6b189dabc5)
2008-05-20 22:40:13 +02:00
Günther Deschner
4d8836ab96 Fix client authentication with -P switch in client tools (Bug 5435).
Guenther
(This used to be commit d077ef64cd)
2008-05-05 16:59:53 +02:00
Günther Deschner
fe2c8e38d3 rpcclient: fix another srv_name_slash.
Guenther
(This used to be commit de946e6158)
2008-04-29 20:22:02 +02:00
Volker Lendecke
862d7e32b9 Move user/domain from rpc_pipe_client to cli_pipe_auth_data
(This used to be commit 42de50d2cd)
2008-04-25 11:12:50 +02:00
Volker Lendecke
9e9d40d097 Refactoring: Make cli_pipe_auth_data a pointer off rpc_pipe_client
(This used to be commit f665afaaa3)
2008-04-25 11:12:50 +02:00
Günther Deschner
12b9be6d5e rpcclient: Add tiny fix for cmd_samr_get_dispinfo_idx().
Guenther
(This used to be commit c15b5d73ba)
2008-04-24 22:01:51 +02:00
Günther Deschner
bd8cb7b564 rpcclient: Add getdispinfoidx command.
Guenther
(This used to be commit 7d8461d080)
2008-04-22 23:11:53 +02:00
Volker Lendecke
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
Volker Lendecke
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
Volker Lendecke
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
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
Günther Deschner
e2b3aad817 Collect all init_lsa_string varients in one place.
Guenther
(This used to be commit f4581e9f44)
2008-02-12 22:05:39 +01:00
Günther Deschner
4c7943cd62 Add querydispinfo2 and querydispinfo3 to rpcclient.
Guenther
(This used to be commit f776840dca)
2008-02-12 21:35:42 +01:00
Günther Deschner
8823c7453d Use rpccli_samr_QueryUserInfo() in rpcclient.
Guenther
(This used to be commit 5bfa5cac63)
2008-02-12 18:08:01 +01:00
Günther Deschner
b88982a5c8 Use rpccli_samr_EnumDomainUsers in net and rpcclient.
Guenther
(This used to be commit bcf2cd324c)
2008-02-12 11:36:33 +01:00
Günther Deschner
0ed6c373f1 Use rpccli_samr_EnumDomainGroups in rpcclient.
Guenther
(This used to be commit e76c350dab)
2008-02-12 11:17:53 +01:00
Günther Deschner
cf20a28dd6 Use rpccli_samr_EnumDomainAliases() in net and rpcclient.
Guenther
(This used to be commit d034d34faa)
2008-02-12 11:10:59 +01:00
Günther Deschner
1a27d29686 Add cmd_lsa_get_username command to rpcclient.
Guenther
(This used to be commit 66aac1d7f2)
2008-02-11 20:49:38 +01:00
Günther Deschner
7b50295400 Use rpccli_lsa_LookupPrivDisplayName() in net and rpcclient.
Guenther
(This used to be commit be932cbdfa)
2008-02-11 19:16:05 +01:00
Günther Deschner
0ddbeba833 Only call display_lsa_query_info on success in rpcclient.
Guenther
(This used to be commit dad7ae3e1a)
2008-02-11 10:52:51 +01:00
Günther Deschner
976fba87eb Use rpccli_lsa_EnumPrivs() in net and rpcclient.
Guenther
(This used to be commit bb24cccfc8)
2008-02-11 10:49:30 +01:00
Günther Deschner
da3e2d4c27 Testing revealed some errors, reverting some of the lsa changes.
Guenther
(This used to be commit ac1e4f1eb2)
2008-02-09 02:05:39 +01:00
Günther Deschner
e88eb3ed16 Use rpccli_netr_DsRGetDCName() in rpcclient and winbindd.
Guenther
(This used to be commit 4f3e97cbae)
2008-02-08 23:38:13 +01:00
Günther Deschner
3038a77f40 Minor fix for querydispinfo display in rpcclient.
Guenther
(This used to be commit 6cb59410c2)
2008-02-08 23:02:48 +01:00
Günther Deschner
ab346de340 Add cmd_samr_enum_domains command to rpcclient.
Guenther
(This used to be commit f429153de2)
2008-02-08 23:01:16 +01:00
Günther Deschner
2b1d74981b Fix rpccli_lsa_QueryTrustedDomainInfoByName() caller in rpcclient.
Guenther
(This used to be commit bdda909777)
2008-02-08 22:57:56 +01:00
Günther Deschner
ba00160eb8 Use rpccli_lsa_OpenAccount() in rpcclient.
Guenther
(This used to be commit 04d7977905)
2008-02-08 22:44:28 +01:00
Günther Deschner
bdf2e4f23f Use rpccli_lsa_CreateAccount() in rpcclient.
Guenther
(This used to be commit 43ab24c11e)
2008-02-08 22:38:34 +01:00
Jeremy Allison
114596b966 Fix warning and use of uninitialized variable.
gd please check !
Jeremy.
(This used to be commit 90fb59cb44)
2008-02-08 11:40:55 -08:00
Günther Deschner
406ee0effc Use rpccli_samr_LookupNames() in rpcclient.
Guenther
(This used to be commit 64d11fad9b)
2008-02-08 15:30:35 +01:00
Günther Deschner
e3757bcd1b Use rpccli_samr_LookupRids() in net and rpcclient.
Guenther
(This used to be commit 72fc4ffa38)
2008-02-08 12:07:06 +01:00
Günther Deschner
7520439dca Use rpccli_lsa_QueryInfoPolicy() all over the place.
Guenther
(This used to be commit ce22abcea3)
2008-02-08 10:26:20 +01:00
Günther Deschner
d748baa1c1 Use rpccli_lsa_QueryInfoPolicy and rpccli_lsa_QueryInfoPolicy2 in rpcclient.
Guenther
(This used to be commit 35494a3336)
2008-02-08 10:02:51 +01:00
Günther Deschner
781776d864 Use rpccli_samr_QueryDisplayInfo() all over the place.
Guenther
(This used to be commit 66b79add35)
2008-02-08 00:10:55 +01:00
Günther Deschner
ca790c96d2 Remove trailing whitespace in samr client and server.
Guenther
(This used to be commit 0b630db298)
2008-02-07 14:40:39 +01:00
Günther Deschner
1c788bc365 Use rpccli_samr_GetGroupsForUser() all over the place.
Guenther
(This used to be commit d1c669920e)
2008-02-07 14:25:18 +01:00
Günther Deschner
1ec50b50e1 Use rpccli_samr_QueryGroupInfo() in rpcclient.
Guenther
(This used to be commit 6a3b06291b)
2008-02-07 14:04:11 +01:00
Günther Deschner
5881a7f679 Use rpccli_netr_DsRGetSiteName() in rpcclient.
Guenther
(This used to be commit 609c40fdd9)
2008-02-07 10:42:51 +01:00
Günther Deschner
bca0ef0ed7 Use rpccli_netr_GetAnyDCName and rpccli_netr_GetDCName everywhere.
Guenther
(This used to be commit 8abeea9922)
2008-02-07 10:29:26 +01:00
Günther Deschner
9c22a27aad Let rpccli_samr_chgpasswd3 use rpccli_samr_ChangePasswordUser3 internally.
Guenther
(This used to be commit ffbfd19ad7)
2008-02-07 10:07:00 +01:00