summaryrefslogtreecommitdiff
path: root/source4/auth/auth_simple.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-02 16:20:18 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:46:58 +0100
commit181aab56d528c3a270ff9f349c8e91ecb402142b (patch)
tree678d2acc26d521f331a92a5a531a7ecff11307fe /source4/auth/auth_simple.c
parent4ab0b47ffd812350dce0255d4c654c16da102717 (diff)
downloadsamba-181aab56d528c3a270ff9f349c8e91ecb402142b.tar.gz
samba-181aab56d528c3a270ff9f349c8e91ecb402142b.tar.bz2
samba-181aab56d528c3a270ff9f349c8e91ecb402142b.zip
r26221: Add loadparm_context parameter to auth_context_create.
(This used to be commit a9a9634df8f3137ecb308adb90a755f12af94972)
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);