From 35dffd9a109e821111dfc69cf3990c91feead367 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 9 Jan 2006 16:20:02 +0000 Subject: r12795: remember the gensec_security context metze (This used to be commit ec1a7b5cefc32172ea97338a7101fe8416071b69) --- source4/auth/ntlmssp/ntlmssp.c | 1 + source4/auth/ntlmssp/ntlmssp.h | 2 ++ 2 files changed, 3 insertions(+) (limited to 'source4/auth/ntlmssp') diff --git a/source4/auth/ntlmssp/ntlmssp.c b/source4/auth/ntlmssp/ntlmssp.c index e2fce5856d..9452ac3e96 100644 --- a/source4/auth/ntlmssp/ntlmssp.c +++ b/source4/auth/ntlmssp/ntlmssp.c @@ -343,6 +343,7 @@ NTSTATUS gensec_ntlmssp_start(struct gensec_security *gensec_security) return NT_STATUS_NO_MEMORY; } + gensec_ntlmssp_state->gensec_security = gensec_security; gensec_ntlmssp_state->auth_context = NULL; gensec_ntlmssp_state->server_info = NULL; diff --git a/source4/auth/ntlmssp/ntlmssp.h b/source4/auth/ntlmssp/ntlmssp.h index 2ee069bada..0742227491 100644 --- a/source4/auth/ntlmssp/ntlmssp.h +++ b/source4/auth/ntlmssp/ntlmssp.h @@ -77,6 +77,8 @@ enum ntlmssp_message_type struct gensec_ntlmssp_state { + struct gensec_security *gensec_security; + enum ntlmssp_role role; enum samr_Role server_role; uint32_t expected_state; -- cgit