diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-12-26 12:26:43 +1100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-01-05 17:17:28 +0100 |
commit | e22b1b4f9e1ec46cf7dffbce24a88240d6fa2a05 (patch) | |
tree | 777fd7d82132bf57c5d031d6385f1fddf5f04bbe /source3/auth/auth_ntlmssp.c | |
parent | 1075efabc73ef9e890fdb7a53b15cabf467c6a9b (diff) | |
download | samba-e22b1b4f9e1ec46cf7dffbce24a88240d6fa2a05.tar.gz samba-e22b1b4f9e1ec46cf7dffbce24a88240d6fa2a05.tar.bz2 samba-e22b1b4f9e1ec46cf7dffbce24a88240d6fa2a05.zip |
s3-auth re-create the auth context in the s3 ntlmssp server module
This removes the abstraction violation in auth_generic.c.
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/auth/auth_ntlmssp.c')
-rw-r--r-- | source3/auth/auth_ntlmssp.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/auth/auth_ntlmssp.c b/source3/auth/auth_ntlmssp.c index a0deada9b8..f2b7fa4a19 100644 --- a/source3/auth/auth_ntlmssp.c +++ b/source3/auth/auth_ntlmssp.c @@ -242,6 +242,11 @@ static NTSTATUS gensec_ntlmssp3_server_start(struct gensec_security *gensec_secu talloc_get_type_abort(gensec_security->private_data, struct gensec_ntlmssp_context); + nt_status = make_auth_context_subsystem(gensec_ntlmssp, &gensec_ntlmssp->auth_context); + if (!NT_STATUS_IS_OK(nt_status)) { + return nt_status; + } + nt_status = ntlmssp_server_start(gensec_ntlmssp, is_standalone, netbios_name, |