diff options
author | Simo Sorce <idra@samba.org> | 2011-08-10 23:25:56 -0400 |
---|---|---|
committer | Andreas Schneider <asn@samba.org> | 2011-08-11 14:58:05 +0200 |
commit | 9f12575712fc2d5fb44558562f482cd8459140e8 (patch) | |
tree | 7cc55c01478b7a1dd4cec68c1057b19f342db68c | |
parent | b706fd37f6d0e7e66718488d069053687ad0664c (diff) | |
download | samba-9f12575712fc2d5fb44558562f482cd8459140e8.tar.gz samba-9f12575712fc2d5fb44558562f482cd8459140e8.tar.bz2 samba-9f12575712fc2d5fb44558562f482cd8459140e8.zip |
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 <asn@samba.org>
-rw-r--r-- | source3/include/messages.h | 1 | ||||
-rw-r--r-- | source3/librpc/idl/messaging.idl | 5 |
2 files changed, 4 insertions, 2 deletions
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, |