diff options
author | Ralph Boehme <slow@samba.org> | 2019-05-16 12:42:54 +0200 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2019-06-21 07:56:17 +0000 |
commit | 1cc8068e196175a7b2c8f589f8f336a4da9a7e46 (patch) | |
tree | 0eef9e23a3cf2eee644672081567dc649ad4d8ea | |
parent | 71c33811c82b25e399a46fe0f12062d63be6cf3c (diff) | |
download | samba-1cc8068e196175a7b2c8f589f8f336a4da9a7e46.tar.gz |
s3:smbd: call reinit_guest_session_info() in the conf updated handler
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13944
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit f4e340a48b6f059a1daa66deb9c26da9e8fcd5e7)
-rw-r--r-- | source3/smbd/server.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c index b73ac2bb731..9ba4be87319 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -117,12 +117,18 @@ static void smbd_parent_conf_updated(struct messaging_context *msg, { struct tevent_context *ev_ctx = talloc_get_type_abort(private_data, struct tevent_context); + bool ok; DEBUG(10,("smbd_parent_conf_updated: Got message saying smb.conf was " "updated. Reloading.\n")); change_to_root_user(); reload_services(NULL, NULL, false); printing_subsystem_update(ev_ctx, msg, false); + + ok = reinit_guest_session_info(NULL); + if (!ok) { + DBG_ERR("Failed to reinit guest info\n"); + } } /******************************************************************* |