summaryrefslogtreecommitdiff
path: root/source4/smbd/process_model.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/smbd/process_model.c')
-rw-r--r--source4/smbd/process_model.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/source4/smbd/process_model.c b/source4/smbd/process_model.c
index d3e5eeaa48..312cc5e264 100644
--- a/source4/smbd/process_model.c
+++ b/source4/smbd/process_model.c
@@ -80,6 +80,19 @@ NTSTATUS register_process_model(const void *_ops)
return NT_STATUS_OK;
}
+NTSTATUS process_model_init(void)
+{
+ init_module_fn static_init[] = STATIC_PROCESS_MODEL_MODULES;
+ init_module_fn *shared_init = load_samba_modules(NULL, "process_model");
+
+ run_init_functions(static_init);
+ run_init_functions(shared_init);
+
+ talloc_free(shared_init);
+
+ return NT_STATUS_OK;
+}
+
/*
return the operations structure for a named backend of the specified type
*/