summaryrefslogtreecommitdiff
path: root/source4/ntptr/ntptr_base.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/ntptr/ntptr_base.c')
-rw-r--r--source4/ntptr/ntptr_base.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/ntptr/ntptr_base.c b/source4/ntptr/ntptr_base.c
index d63bdb1546..379c4e5413 100644
--- a/source4/ntptr/ntptr_base.c
+++ b/source4/ntptr/ntptr_base.c
@@ -25,6 +25,7 @@
#include "includes.h"
#include "ntptr/ntptr.h"
#include "build.h"
+#include "param/param.h"
/* the list of currently registered NTPTR backends */
static struct ntptr_backend {
@@ -71,7 +72,7 @@ NTSTATUS ntptr_register(const void *_ops)
NTSTATUS ntptr_init(void)
{
init_module_fn static_init[] = STATIC_ntptr_MODULES;
- init_module_fn *shared_init = load_samba_modules(NULL, "ntptr");
+ init_module_fn *shared_init = load_samba_modules(NULL, global_loadparm, "ntptr");
run_init_functions(static_init);
run_init_functions(shared_init);