1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-25 06:04:04 +03:00

25883 Commits

Author SHA1 Message Date
Günther Deschner
23d37a9aed Remove unused marshalling for SVCCTL_LOCK_SERVICE_DB.
Guenther
2008-02-19 03:13:42 +01:00
Günther Deschner
939da2eb58 Use pidl for _svcctl_LockServiceDatabase().
Guenther
2008-02-19 03:13:34 +01:00
Günther Deschner
8a621f517f Remove unused marshalling for SVCCTL_QUERY_STATUS.
Guenther
2008-02-19 03:13:26 +01:00
Günther Deschner
1cc0e9b7e5 Use rpccli_svcctl_QueryServiceStatus() in net.
Guenther
2008-02-19 03:13:18 +01:00
Günther Deschner
5453d97ef4 Use pidl for _svcctl_QueryServiceStatus().
Guenther
2008-02-19 03:13:10 +01:00
Günther Deschner
84112a24f5 Remove unused marshalling for SVCCTL_CONTROL_SERVICE.
Guenther
2008-02-19 03:13:02 +01:00
Günther Deschner
49375f0b4d Use rpccli_svcctl_ControlService() in net.
Guenther
2008-02-19 03:12:54 +01:00
Günther Deschner
4797ca0bd5 Use pidl for _svcctl_ControlService().
Guenther
2008-02-19 03:12:46 +01:00
Günther Deschner
57e03a7fd5 Remove unused marshalling for SVCCTL_START_SERVICE.
Guenther
2008-02-19 03:12:37 +01:00
Günther Deschner
5ca4358c1a Use rpccli_svcctl_StartServiceW() in net.
Guenther
2008-02-19 03:12:29 +01:00
Günther Deschner
d95998ffd3 Use pidl for _svcctl_StartServiceW().
Guenther
2008-02-19 03:12:11 +01:00
Günther Deschner
bd6e2fcf3b Fix some uninitialized data in new netlogon client.
Guenther
2008-02-19 01:51:41 +01:00
Günther Deschner
c22ec556b1 w 2008-02-19 01:30:01 +01:00
Günther Deschner
f802ba035c Remove unused marshalling for LSA_LOOKUP_SIDS/2/3.
This also removes parse_lsa.c entirely.

Guenther
2008-02-19 01:29:14 +01:00
Günther Deschner
aa7023b88d Yippie! LSARPC server-side migration to pidl finished.
Guenther
2008-02-19 01:23:05 +01:00
Günther Deschner
b1609801e4 Use pidl for _lsa_LookupSids, _lsa_LookupSids2 and _lsa_LookupSids3.
Guenther
2008-02-19 01:10:30 +01:00
Michael Adam
d94998e46b Fix a comment. REGISTRY_KEY has vanished from srv_winreg_nt.c
(It is reg_api time)

Michael
2008-02-18 17:48:19 +01:00
Michael Adam
2c66413de2 Remove (now) unused function make_default_reg_sd().
Michael
2008-02-18 17:41:21 +01:00
Michael Adam
194e00822c Grab secdesc for key from registry for reg_savekey()
instead of construction another default secdesc.

Michael
2008-02-18 17:41:21 +01:00
Michael Adam
9f0448ca32 Add NT Authority\System as group sid to default registry key security descriptor.
Michael
2008-02-18 17:41:20 +01:00
Michael Adam
91dbe79df2 Change construct_registry_sd() to return WERROR instead of the SEC_DESC *.
Michael
2008-02-18 17:41:20 +01:00
Michael Adam
d87fb13959 Reformat construct_registry_sd() slightly (stick to coding rules).
Michael
2008-02-18 17:41:20 +01:00
Michael Adam
52e9815765 Use BUILTIN\administrators as owner of the default registry key security descriptor.
Michael
2008-02-18 17:41:20 +01:00
Michael Adam
f1fb9fd6f1 Fix segfault in svcctl_get_secdesc(): prevent premature TALLOC_FREE.
This crash was triggered by (e.g.) net rpc service status.
This patch prevents premature freeing of memory and creates a
common exit point to the function.

Michael
2008-02-18 17:41:19 +01:00
Michael Adam
ba69097f37 Add a check for success of fetch_reg_values().
Michael
2008-02-18 17:41:19 +01:00
Michael Adam
00e2dd36b3 Fix a comment typo.
Michael
2008-02-18 17:41:19 +01:00
Michael Adam
1cb2d980d3 Create missing link for libnetapi.so.0
Michael
2008-02-18 17:40:36 +01:00
Günther Deschner
6458ef3977 Remove unused marshalling for LSA_LOOKUP_NAMES/2/3/4
Guenther
2008-02-18 17:04:50 +01:00
Günther Deschner
4e310a19f1 Use pidl for _lsa_LookupNames3 and _lsa_LookupNames4.
Guenther
2008-02-18 16:57:02 +01:00
Günther Deschner
1cac7b0f62 Re-run make idl.
Guenther
2008-02-18 16:52:56 +01:00
Günther Deschner
2eda5bcbfa Fix IDL for lsa_LookupNames3 and lsa_LookupNames4.
Guenther
2008-02-18 16:51:32 +01:00
Günther Deschner
01b733f10c Use pidl for _lsa_LookupNames() and _lsa_LookupNames2().
Hopefully I didn't screw this up. Please check :)

Guenther
2008-02-18 14:40:34 +01:00
Günther Deschner
144f41e7c3 Remove unused marshalling for SVCCTL_GET_DISPLAY_NAME.
Guenther
2008-02-18 13:45:36 +01:00
Günther Deschner
2746e88c5c Use pidl for _svcctl_GetServiceDisplayNameW().
Guenther
2008-02-18 13:43:12 +01:00
Günther Deschner
e0a8818af0 Remove unused marshalling for SVCCTL_OPEN_SERVICE.
Guenther
2008-02-18 12:58:44 +01:00
Günther Deschner
1537a2ff36 Use rpccli_svcctl_OpenServiceW() in net.
Guenther
2008-02-18 12:58:44 +01:00
Günther Deschner
b2fa41072d Use pidl for _svcctl_OpenServiceW().
Note that this call did and still does panic in registry access.
Michael has an idea how to fix this.

Guenther
2008-02-18 12:58:43 +01:00
Günther Deschner
1162b8a02d Remove unused marshalling for SVCCTL_OPEN_SCMANAGER.
Guenther
2008-02-18 12:12:43 +01:00
Günther Deschner
275ce92e27 Use rpccli_svcctl_OpenSCManagerW() in net.
Guenther
2008-02-18 12:10:54 +01:00
Günther Deschner
1131e914df Use pidl for _svcctl_OpenSCManagerW().
Guenther
2008-02-18 11:55:31 +01:00
Günther Deschner
d752d52f1a Remove whitespace, no code changes.
Guenther
2008-02-18 11:51:17 +01:00
Tim Potter
d85a2782a4 Fix off-by-one bugs in subcommand argument passing. 2008-02-18 10:15:53 +01:00
Tim Potter
2b1eead269 Check return code of secrets_init() function. 2008-02-18 10:15:44 +01:00
Tim Potter
a1d0746923 Replace C++-style comments with C. 2008-02-18 10:15:22 +01:00
Günther Deschner
b62eddbc4e Use rpccli_lsa_LookupSids() in rpccli_lsa_lookup_sids_noalloc().
Guenther
2008-02-18 10:03:49 +01:00
Günther Deschner
5c0a2d697f Use rpccli_lsa_LookupNames() inside of rpccli_lsa_lookup_names.
Guenther
2008-02-18 10:01:24 +01:00
Günther Deschner
2ec2eefc70 Remove unused marshalling for NTSVCS_GET_HW_PROFILE_INFO.
Guenther
2008-02-18 01:38:37 +01:00
Günther Deschner
7b7ce50e4b Use pidl for _PNP_GetHwProfInfo().
Guenther
2008-02-18 01:38:29 +01:00
Günther Deschner
8d8cf915f7 Add ntsvcs_hwprofinfo command to rpcclient.
Guenther
2008-02-18 01:38:21 +01:00
Günther Deschner
cbc3f328d0 Re-run make idl.
Guenther
2008-02-18 01:38:08 +01:00