s3-messaging: Change classification of MSG_SMB_CONF_UPDATED.
authorSimo Sorce <idra@samba.org>
Thu, 11 Aug 2011 03:25:56 +0000 (23:25 -0400)
committerAndreas Schneider <asn@samba.org>
Thu, 11 Aug 2011 12:58:05 +0000 (14:58 +0200)
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>
source3/include/messages.h
source3/librpc/idl/messaging.idl

index 8ea6c89640f0c6d6f22bacc03e96b049900a3473..c15dadcc380d9bb3d3ef6daca3072a3b08f6f05f 100644 (file)
@@ -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
index 309f0bb9f09cfc12447a04b54d86f714c63ad283..aca90c4c8a4fc296e03ea2f1aeed6e7f0995f86a 100644 (file)
@@ -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,