diff options
author | Volker Lendecke <vlendec@samba.org> | 2007-05-15 15:49:55 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:22:07 -0500 |
commit | 8c3f8e5697f29f1a9829298e0561ff7305b62082 (patch) | |
tree | 84540e7fa44955f13c55ee97b2e099479dbc58af /source3/rpc_server | |
parent | 6669aa051e6e2e3cb79cb4e4b97c2dcd4e31d02b (diff) | |
download | samba-8c3f8e5697f29f1a9829298e0561ff7305b62082.tar.gz samba-8c3f8e5697f29f1a9829298e0561ff7305b62082.tar.bz2 samba-8c3f8e5697f29f1a9829298e0561ff7305b62082.zip |
r22911: Pass a messaging_context to message_send_all
(This used to be commit cc92ce665dcfe9054d09429219883b18a4cab090)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_netlog_nt.c | 3 | ||||
-rw-r--r-- | source3/rpc_server/srv_spoolss_nt.c | 6 | ||||
-rw-r--r-- | source3/rpc_server/srv_srvsvc_nt.c | 9 |
3 files changed, 12 insertions, 6 deletions
diff --git a/source3/rpc_server/srv_netlog_nt.c b/source3/rpc_server/srv_netlog_nt.c index e110f39289..4dd04c0288 100644 --- a/source3/rpc_server/srv_netlog_nt.c +++ b/source3/rpc_server/srv_netlog_nt.c @@ -76,7 +76,8 @@ Send a message to smbd to do a sam synchronisation static void send_sync_message(void) { DEBUG(3, ("sending sam synchronisation message\n")); - message_send_all(MSG_SMB_SAM_SYNC, NULL, 0, False, NULL); + message_send_all(smbd_messaging_context(), MSG_SMB_SAM_SYNC, NULL, 0, + False, NULL); } /************************************************************************* diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c index cbc44a224a..e2dd773c04 100644 --- a/source3/rpc_server/srv_spoolss_nt.c +++ b/source3/rpc_server/srv_spoolss_nt.c @@ -311,7 +311,8 @@ WERROR delete_printer_hook( NT_USER_TOKEN *token, const char *sharename ) if ( (ret = smbrun(command, NULL)) == 0 ) { /* Tell everyone we updated smb.conf. */ - message_send_all(MSG_SMB_CONF_UPDATED, NULL, 0, False, NULL); + message_send_all(smbd_messaging_context(), + MSG_SMB_CONF_UPDATED, NULL, 0, False, NULL); } if ( is_print_op ) @@ -6255,7 +6256,8 @@ BOOL add_printer_hook(NT_USER_TOKEN *token, NT_PRINTER_INFO_LEVEL *printer) if ( (ret = smbrun(command, &fd)) == 0 ) { /* Tell everyone we updated smb.conf. */ - message_send_all(MSG_SMB_CONF_UPDATED, NULL, 0, False, NULL); + message_send_all(smbd_messaging_context(), + MSG_SMB_CONF_UPDATED, NULL, 0, False, NULL); } if ( is_print_op ) diff --git a/source3/rpc_server/srv_srvsvc_nt.c b/source3/rpc_server/srv_srvsvc_nt.c index bb60f57a14..cf3268d44d 100644 --- a/source3/rpc_server/srv_srvsvc_nt.c +++ b/source3/rpc_server/srv_srvsvc_nt.c @@ -1421,7 +1421,8 @@ static WERROR add_share(const char *share_name, const char *path, if ( (ret = smbrun(command, NULL)) == 0 ) { /* Tell everyone we updated smb.conf. */ - message_send_all(MSG_SMB_CONF_UPDATED, + message_send_all(smbd_messaging_context(), + MSG_SMB_CONF_UPDATED, NULL, 0, False, NULL); } @@ -1517,7 +1518,8 @@ static WERROR delete_share(const char *sharename, if ( (ret = smbrun(command, NULL)) == 0 ) { /* Tell everyone we updated smb.conf. */ - message_send_all(MSG_SMB_CONF_UPDATED, + message_send_all(smbd_messaging_context(), + MSG_SMB_CONF_UPDATED, NULL, 0, False, NULL); } @@ -1575,7 +1577,8 @@ static WERROR change_share(const char *share_name, const char *path, if ( (ret = smbrun(command, NULL)) == 0 ) { /* Tell everyone we updated smb.conf. */ - message_send_all(MSG_SMB_CONF_UPDATED, + message_send_all(smbd_messaging_context(), + MSG_SMB_CONF_UPDATED, NULL, 0, False, NULL); } |