diff options
-rw-r--r-- | source3/smbd/conn_idle.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/smbd/conn_idle.c b/source3/smbd/conn_idle.c index 916a2067ad..238b7bd769 100644 --- a/source3/smbd/conn_idle.c +++ b/source3/smbd/conn_idle.c @@ -142,4 +142,7 @@ void conn_force_tdis(struct smbd_server_connection *sconn, const char *sharename TALLOC_FREE(tcon); } + + change_to_root_user(); + reload_services(sconn, conn_snum_used, true); } |