summaryrefslogtreecommitdiff
path: root/source4/smbd/rewrite.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/smbd/rewrite.c')
-rw-r--r--source4/smbd/rewrite.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/source4/smbd/rewrite.c b/source4/smbd/rewrite.c
index d0a4bad374..ac241958c7 100644
--- a/source4/smbd/rewrite.c
+++ b/source4/smbd/rewrite.c
@@ -70,6 +70,13 @@ void smbd_process_init(void)
if (!init_change_notify())
exit(1);
+ /* Start old-style secrets subsystem */
+
+ /* We must perform secrets_init(), as it sets up important
+ * seeding for the random number generator.
+ */
+ secrets_init();
+
talloc_destroy(mem_ctx);
}