From 3ff2766231625863140434bab18b27d5105deb3c Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 19 Apr 2010 15:43:33 +1000 Subject: s4:auth Push check for messaging context into winbind backend If we don't use the winbind backend, we don't (for now) need a messaging context- and we don't have one in LDB at the moment. Andrew Bartlett --- source4/auth/ntlm/auth.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'source4/auth/ntlm/auth.c') diff --git a/source4/auth/ntlm/auth.c b/source4/auth/ntlm/auth.c index 3f1ee669c9..a9c3262f07 100644 --- a/source4/auth/ntlm/auth.c +++ b/source4/auth/ntlm/auth.c @@ -426,11 +426,6 @@ _PUBLIC_ NTSTATUS auth_context_create_methods(TALLOC_CTX *mem_ctx, const char ** return NT_STATUS_INTERNAL_ERROR; } - if (!msg) { - DEBUG(0,("auth_context_create: called with out messaging context\n")); - return NT_STATUS_INTERNAL_ERROR; - } - ctx = talloc(mem_ctx, struct auth_context); NT_STATUS_HAVE_NO_MEMORY(ctx); ctx->challenge.set_by = NULL; -- cgit