summaryrefslogtreecommitdiff
path: root/source4/auth
diff options
context:
space:
mode:
Diffstat (limited to 'source4/auth')
-rw-r--r--source4/auth/auth.c8
-rw-r--r--source4/auth/gensec/gensec.c8
2 files changed, 16 insertions, 0 deletions
diff --git a/source4/auth/auth.c b/source4/auth/auth.c
index db1a0a1c71..c1295f5cf1 100644
--- a/source4/auth/auth.c
+++ b/source4/auth/auth.c
@@ -334,5 +334,13 @@ const struct auth_critical_sizes *auth_interface_version(void)
NTSTATUS server_service_auth_init(void)
{
+ init_module_fn static_init[] = STATIC_AUTH_MODULES;
+ init_module_fn *shared_init = load_samba_modules(NULL, "auth");
+
+ run_init_functions(static_init);
+ run_init_functions(shared_init);
+
+ talloc_free(shared_init);
+
return NT_STATUS_OK;
}
diff --git a/source4/auth/gensec/gensec.c b/source4/auth/gensec/gensec.c
index 26f245787b..65e22c1467 100644
--- a/source4/auth/gensec/gensec.c
+++ b/source4/auth/gensec/gensec.c
@@ -942,5 +942,13 @@ const struct gensec_critical_sizes *gensec_interface_version(void)
*/
NTSTATUS gensec_init(void)
{
+ init_module_fn static_init[] = STATIC_GENSEC_MODULES;
+ init_module_fn *shared_init = load_samba_modules(NULL, "gensec");
+
+ run_init_functions(static_init);
+ run_init_functions(shared_init);
+
+ talloc_free(shared_init);
+
return NT_STATUS_OK;
}