From 9f12575712fc2d5fb44558562f482cd8459140e8 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Wed, 10 Aug 2011 23:25:56 -0400 Subject: s3-messaging: Change classification of MSG_SMB_CONF_UPDATED. smbd is not the only daemon interested in smb.conf changes. Move this message to the GENERAL class so that all interested partied (nmbd, winbindd, spoolssd, etc..) can receive this notification. Signed-off-by: Andreas Schneider --- source3/include/messages.h | 1 - source3/librpc/idl/messaging.idl | 5 ++++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'source3') diff --git a/source3/include/messages.h b/source3/include/messages.h index 8ea6c89640..c15dadcc38 100644 --- a/source3/include/messages.h +++ b/source3/include/messages.h @@ -47,7 +47,6 @@ /* dbwrap messages 4001-4999 */ #define FLAG_MSG_DBWRAP 0x0020 - /* * ctdb gives us 64-bit server ids for messaging_send. This is done to avoid * pid clashes and to be able to register for special messages like "all diff --git a/source3/librpc/idl/messaging.idl b/source3/librpc/idl/messaging.idl index 309f0bb9f0..aca90c4c8a 100644 --- a/source3/librpc/idl/messaging.idl +++ b/source3/librpc/idl/messaging.idl @@ -39,6 +39,9 @@ interface messaging MSG_IDMAP_DELETE = 0x000F, MSG_IDMAP_KILL = 0x0010, + /* Changes to smb.conf are really of general interest */ + MSG_SMB_CONF_UPDATED = 0x0021, + /* nmbd messages */ MSG_FORCE_ELECTION = 0x0101, MSG_WINS_NEW_ENTRY = 0x0102, @@ -54,7 +57,7 @@ interface messaging MSG_PRINTER_PCAP = 0x0207, /* smbd messages */ - MSG_SMB_CONF_UPDATED = 0x0301, + /* MSG_SMB_CONF_UPDATED = 0x0301, Obsoleted */ MSG_SMB_FORCE_TDIS = 0x0302, MSG_SMB_SAM_SYNC = 0x0303, MSG_SMB_SAM_REPL = 0x0304, -- cgit