svcctl: rename SERVICE_FAILURE_ACTIONS to SERVICE_FAILURE_ACTIONSW
authorGünther Deschner <gd@samba.org>
Thu, 12 Mar 2020 12:37:28 +0000 (13:37 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 9 Nov 2023 08:00:30 +0000 (08:00 +0000)
(there will be a SERVICE_FAILURE_ACTIONSA variant also)

Guenther

Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
librpc/idl/svcctl.idl
source3/rpc_server/svcctl/srv_svcctl_nt.c

index e43685debb85823f07ac622633329893a7535aa8..b43be6547d605207f415ca4f957a18fb85db7db8 100644 (file)
@@ -601,7 +601,7 @@ import "misc.idl", "security.idl";
                [relative] nstring *command;
                [range(0,1024)] uint32 num_actions;
                [relative] [size_is(num_actions)] SC_ACTION *actions;
-       } SERVICE_FAILURE_ACTIONS;
+       } SERVICE_FAILURE_ACTIONSW;
 
        WERROR svcctl_QueryServiceConfig2A(
                [in,ref] policy_handle *handle,
index b6ff2df197ec1d7c4e96388d2b717ac2e7d27ece..2694e9e140d214b89db9550b7f3646decd4b5955 100644 (file)
@@ -856,7 +856,7 @@ WERROR _svcctl_QueryServiceConfig2W(struct pipes_struct *p,
                break;
        case SERVICE_CONFIG_FAILURE_ACTIONS:
                {
-                       struct SERVICE_FAILURE_ACTIONS actions;
+                       struct SERVICE_FAILURE_ACTIONSW actions;
                        enum ndr_err_code ndr_err;
 
                        /* nothing to say...just service the request */
@@ -864,7 +864,7 @@ WERROR _svcctl_QueryServiceConfig2W(struct pipes_struct *p,
                        ZERO_STRUCT( actions );
 
                        ndr_err = ndr_push_struct_blob(&blob, p->mem_ctx, &actions,
-                                                      (ndr_push_flags_fn_t)ndr_push_SERVICE_FAILURE_ACTIONS);
+                                                      (ndr_push_flags_fn_t)ndr_push_SERVICE_FAILURE_ACTIONSW);
                        if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
                                return WERR_INVALID_PARAMETER;
                        }