summaryrefslogtreecommitdiff
path: root/source4/auth/auth_simple.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/auth/auth_simple.c')
-rw-r--r--source4/auth/auth_simple.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/auth/auth_simple.c b/source4/auth/auth_simple.c
index 3e07adcb6a..0b94669008 100644
--- a/source4/auth/auth_simple.c
+++ b/source4/auth/auth_simple.c
@@ -24,6 +24,7 @@
#include "includes.h"
#include "auth/auth.h"
#include "lib/events/events.h"
+#include "param/param.h"
/*
It's allowed to pass NULL as session_info,
@@ -49,6 +50,7 @@ _PUBLIC_ NTSTATUS authenticate_username_pw(TALLOC_CTX *mem_ctx,
nt_status = auth_context_create(tmp_ctx,
ev, msg,
+ global_loadparm,
&auth_context);
if (!NT_STATUS_IS_OK(nt_status)) {
talloc_free(tmp_ctx);