winbindd: rename MSG_WINBIND_NEW_TRUSTED_DOMAIN to MSG_WINBIND_RELOAD_TRUSTED_DOMAINS
authorRalph Boehme <slow@samba.org>
Thu, 18 Jan 2018 15:35:13 +0000 (16:35 +0100)
committerRalph Boehme <slow@samba.org>
Sat, 10 Feb 2018 07:35:16 +0000 (08:35 +0100)
This reflects the new implementation in winbindd.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=13237

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
librpc/idl/messaging.idl
source3/winbindd/winbindd_util.c
source4/rpc_server/lsa/dcesrv_lsa.c

index 37f8fccfb8d5825b4432d910be319b8f895c3f9a..b35f1e1e9aecea6a30ff33e29cdd48e0dcd431a7 100644 (file)
@@ -123,7 +123,7 @@ interface messaging
                MSG_WINBIND_IP_DROPPED          = 0x040A,
                MSG_WINBIND_DOMAIN_ONLINE       = 0x040B,
                MSG_WINBIND_DOMAIN_OFFLINE      = 0x040C,
-               MSG_WINBIND_NEW_TRUSTED_DOMAIN  = 0x040D,
+               MSG_WINBIND_RELOAD_TRUSTED_DOMAINS = 0x040D,
 
                /* event messages */
                MSG_DUMP_EVENT_LIST             = 0x0500,
index a4d912d2ca1d6926e0be591dff5dfe96eb85b898..05c963f858fdb846fdb03d547e48d41f1bd4eefc 100644 (file)
@@ -1267,7 +1267,7 @@ bool init_domain_list(void)
        }
 
        status = imessaging_register(winbind_imessaging_context(), NULL,
-                                    MSG_WINBIND_NEW_TRUSTED_DOMAIN,
+                                    MSG_WINBIND_RELOAD_TRUSTED_DOMAINS,
                                     wb_imsg_new_trusted_domain);
        if (!NT_STATUS_IS_OK(status)) {
                DBG_ERR("imessaging_register failed %s\n", nt_errstr(status));
index b2115fd49f94e435c4787ab5c2e11fa7606cc769..4424b5667b75727428dc7e41489c2ec12ce94cf0 100644 (file)
@@ -1361,7 +1361,7 @@ static NTSTATUS dcesrv_lsa_CreateTrustedDomain_base(struct dcesrv_call_state *dc
                                     &num_server_ids, &server_ids);
        if (NT_STATUS_IS_OK(status) && num_server_ids >= 1) {
                imessaging_send(dce_call->msg_ctx, server_ids[0],
-                               MSG_WINBIND_NEW_TRUSTED_DOMAIN, NULL);
+                               MSG_WINBIND_RELOAD_TRUSTED_DOMAINS, NULL);
        }
        TALLOC_FREE(server_ids);