r3110: Fix the krb5 client and server, so that it doesn't segfault. There
[gd/samba-autobuild/.git] / source4 / smbd / rewrite.c
index 03542bf4e9c73e20399af98fe4e14c4e1ddb6f7c..035532a01f0364452a29575257bea1d28d9957bc 100644 (file)
@@ -46,6 +46,14 @@ void smbd_process_init(void)
 
 void init_subsystems(void)
 {
+       /* Do *not* remove this, until you have removed
+        * passdb/secrets.c, and proved that Samba still builds... */
+
+       /* Setup the SECRETS subsystem */
+       if (!secrets_init()) {
+               exit(1);
+       }
+
        /* Setup the PROCESS_MODEL subsystem */
        if (!process_model_init())
                exit(1);