The branch, master has been updated via 56f022c3f8b smbd: Propagate reload-config message to all worker smbds from 08c4dd586fc libsmb: Fix CID 1467087: Resource leaks
https://git.samba.org/?p=samba.git;a=shortlog;h=master - Log ----------------------------------------------------------------- commit 56f022c3f8b7e7bc6052fc5159972598c892b1fa Author: Volker Lendecke <v...@samba.org> Date: Wed May 27 15:45:58 2020 +0200 smbd: Propagate reload-config message to all worker smbds Signed-off-by: Volker Lendecke <v...@samba.org> Reviewed-by: Jeremy Allison <j...@samba.org> Autobuild-User(master): Jeremy Allison <j...@samba.org> Autobuild-Date(master): Wed Sep 23 20:40:48 UTC 2020 on sn-devel-184 ----------------------------------------------------------------------- Summary of changes: source3/smbd/server.c | 4 ++++ 1 file changed, 4 insertions(+) Changeset truncated at 500 lines: diff --git a/source3/smbd/server.c b/source3/smbd/server.c index 3347519ea4f..153dd3c9323 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -101,6 +101,9 @@ struct smbd_child_pid { What to do when smb.conf is updated. ********************************************************************/ +static NTSTATUS messaging_send_to_children(struct messaging_context *msg_ctx, + uint32_t msg_type, DATA_BLOB* data); + static void smbd_parent_conf_updated(struct messaging_context *msg, void *private_data, uint32_t msg_type, @@ -121,6 +124,7 @@ static void smbd_parent_conf_updated(struct messaging_context *msg, if (!ok) { DBG_ERR("Failed to reinit guest info\n"); } + messaging_send_to_children(msg, MSG_SMB_CONF_UPDATED, NULL); } /******************************************************************* -- Samba Shared Repository