git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71c3381
)
s3:smbd: call reinit_guest_session_info() in the conf updated handler
author
Ralph Boehme
<slow@samba.org>
Thu, 16 May 2019 10:42:54 +0000
(12:42 +0200)
committer
Karolin Seeger
<kseeger@samba.org>
Fri, 21 Jun 2019 07:56:17 +0000
(07:56 +0000)
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
)
source3/smbd/server.c
patch
|
blob
|
history
diff --git
a/source3/smbd/server.c
b/source3/smbd/server.c
index b73ac2bb73108afe2e071f9c7ca21c41bf1f037c..9ba4be87319d40f8113d21ad44d1d3d6a4f27b4e 100644
(file)
--- 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");
+ }
}
/*******************************************************************