From c5f4378361b9671e39fa83b043f28c972ab30b70 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 25 Sep 2004 12:08:57 +0000 Subject: r2629: convert gensec to the new talloc model by making our gensec structures a talloc child of the open connection we can be sure that it will be destroyed when the connection is dropped. (This used to be commit f12ee2f241aab1549bc1d9ca4c35a35a1ca0d09d) --- source4/utils/ntlm_auth.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/utils') diff --git a/source4/utils/ntlm_auth.c b/source4/utils/ntlm_auth.c index ec5f5c6abd..d1e2b80fcf 100644 --- a/source4/utils/ntlm_auth.c +++ b/source4/utils/ntlm_auth.c @@ -315,7 +315,7 @@ static void manage_gensec_request(enum stdio_helper_mode stdio_helper_mode, case NTLMSSP_CLIENT_1: /* setup the client side */ - if (!NT_STATUS_IS_OK(gensec_client_start(gensec_state))) { + if (!NT_STATUS_IS_OK(gensec_client_start(NULL, gensec_state))) { exit(1); } gensec_set_username(*gensec_state, opt_username); @@ -334,7 +334,7 @@ static void manage_gensec_request(enum stdio_helper_mode stdio_helper_mode, break; case GSS_SPNEGO_SERVER: case SQUID_2_5_NTLMSSP: - if (!NT_STATUS_IS_OK(gensec_server_start(gensec_state))) { + if (!NT_STATUS_IS_OK(gensec_server_start(NULL, gensec_state))) { exit(1); } break; -- cgit