diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-10-18 16:34:27 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-10-18 13:54:36 +0200 |
commit | 94799db9b5d33ded34ad3e934da673a44d48094a (patch) | |
tree | bd95245ca68ae7036f28a58fe1cab91d04d9111a /source3/auth | |
parent | fa1275610b3c7cad75b5b86ae4b32d8781d1acc0 (diff) | |
download | samba-94799db9b5d33ded34ad3e934da673a44d48094a.tar.gz samba-94799db9b5d33ded34ad3e934da673a44d48094a.tar.bz2 samba-94799db9b5d33ded34ad3e934da673a44d48094a.zip |
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 <abartlet@samba.org>
Autobuild-Date: Tue Oct 18 13:54:36 CEST 2011 on sn-devel-104
Diffstat (limited to 'source3/auth')
-rw-r--r-- | source3/auth/auth_ntlmssp.c | 4 |
1 files 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; } |