summaryrefslogtreecommitdiff
path: root/source4/auth
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-08-01 15:19:27 +0200
committerStefan Metzmacher <metze@samba.org>2008-08-01 15:22:25 +0200
commit5d68244a27c7fcdb2024d94593db30d04cc61386 (patch)
tree8ec9e664d4570fb7b40e01291170cc090c136ae9 /source4/auth
parent7b4081da8fc7b69269224f81bff5397cd2cabf62 (diff)
downloadsamba-5d68244a27c7fcdb2024d94593db30d04cc61386.tar.gz
samba-5d68244a27c7fcdb2024d94593db30d04cc61386.tar.bz2
samba-5d68244a27c7fcdb2024d94593db30d04cc61386.zip
auth_server: fix segfault reported by Julien Kerihuel <j.kerihuel@openchange.org>
metze (This used to be commit c2cc8ef943e8c2e02edb1eb20214de245cc6914c)
Diffstat (limited to 'source4/auth')
-rw-r--r--source4/auth/ntlm/auth_server.c2
1 files changed, 1 insertions, 1 deletions
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 */