From 94799db9b5d33ded34ad3e934da673a44d48094a Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 18 Oct 2011 16:34:27 +1100 Subject: s3-auth move the s3 auth context onto gensec_ntlmssp once we start We do not need it on the auth_ntlmssp_state any longer. Andrew Bartlett Autobuild-User: Andrew Bartlett Autobuild-Date: Tue Oct 18 13:54:36 CEST 2011 on sn-devel-104 --- source3/auth/auth_ntlmssp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source3/auth/auth_ntlmssp.c b/source3/auth/auth_ntlmssp.c index 75098409bd..e22db822ab 100644 --- a/source3/auth/auth_ntlmssp.c +++ b/source3/auth/auth_ntlmssp.c @@ -406,7 +406,7 @@ NTSTATUS auth_generic_start(struct auth_ntlmssp_state *auth_ntlmssp_state, const talloc_get_type_abort(auth_ntlmssp_state->gensec_security->private_data, struct gensec_ntlmssp_context); - gensec_ntlmssp->auth_context = auth_ntlmssp_state->auth_context; + gensec_ntlmssp->auth_context = talloc_move(gensec_ntlmssp, &auth_ntlmssp_state->auth_context); return NT_STATUS_OK; } @@ -464,7 +464,7 @@ NTSTATUS auth_generic_authtype_start(struct auth_ntlmssp_state *auth_ntlmssp_sta talloc_get_type_abort(auth_ntlmssp_state->gensec_security->private_data, struct gensec_ntlmssp_context); - gensec_ntlmssp->auth_context = auth_ntlmssp_state->auth_context; + gensec_ntlmssp->auth_context = talloc_move(gensec_ntlmssp, &auth_ntlmssp_state->auth_context); return NT_STATUS_OK; } -- cgit