From 222c6dd7818c729540079cc480ee56812681854e Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 3 Jul 2007 08:05:55 +0000 Subject: r23680: Make it easier to setup a domain member server - the 'server role' will now control the auth methods, but an override is still available, ex: auth methods:domain controller = Andrew Bartlett (This used to be commit b7e727186ed8eda6a68c873e089f655dc24fe8ae) --- source4/auth/auth_simple.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/auth/auth_simple.c') diff --git a/source4/auth/auth_simple.c b/source4/auth/auth_simple.c index 59e1280ee5..5e1bcc2b8c 100644 --- a/source4/auth/auth_simple.c +++ b/source4/auth/auth_simple.c @@ -48,7 +48,7 @@ _PUBLIC_ NTSTATUS authenticate_username_pw(TALLOC_CTX *mem_ctx, return NT_STATUS_NO_MEMORY; } - nt_status = auth_context_create(tmp_ctx, lp_auth_methods(), + nt_status = auth_context_create(tmp_ctx, ev, msg, &auth_context); if (!NT_STATUS_IS_OK(nt_status)) { -- cgit