From 5d68244a27c7fcdb2024d94593db30d04cc61386 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 1 Aug 2008 15:19:27 +0200 Subject: auth_server: fix segfault reported by Julien Kerihuel metze (This used to be commit c2cc8ef943e8c2e02edb1eb20214de245cc6914c) --- source4/auth/ntlm/auth_server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/auth/ntlm') diff --git a/source4/auth/ntlm/auth_server.c b/source4/auth/ntlm/auth_server.c index f154cf0425..7efbdb3050 100644 --- a/source4/auth/ntlm/auth_server.c +++ b/source4/auth/ntlm/auth_server.c @@ -70,7 +70,7 @@ static NTSTATUS server_get_challenge(struct auth_method_context *ctx, TALLOC_CTX io.in.called_name = strupper_talloc(mem_ctx, io.in.dest_host); /* We don't want to get as far as the session setup */ - io.in.credentials = NULL; + io.in.credentials = cli_credentials_init_anon(mem_ctx); io.in.service = NULL; io.in.workgroup = ""; /* only used with SPNEGO, disabled above */ -- cgit