summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-01-09 16:20:02 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:49:56 -0500
commit35dffd9a109e821111dfc69cf3990c91feead367 (patch)
tree229eb4baf2a6929add1ceb09bdfc1f5841d7d408 /source4
parenta0ca09628be323c445cf63ec7cff949bdf3aef44 (diff)
downloadsamba-35dffd9a109e821111dfc69cf3990c91feead367.tar.gz
samba-35dffd9a109e821111dfc69cf3990c91feead367.tar.bz2
samba-35dffd9a109e821111dfc69cf3990c91feead367.zip
r12795: remember the gensec_security context
metze (This used to be commit ec1a7b5cefc32172ea97338a7101fe8416071b69)
Diffstat (limited to 'source4')
-rw-r--r--source4/auth/ntlmssp/ntlmssp.c1
-rw-r--r--source4/auth/ntlmssp/ntlmssp.h2
2 files changed, 3 insertions, 0 deletions
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;