1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00
samba-mirror/source4/auth/ntlmssp
Andrew Bartlett 589a42e2da s4:auth Change auth_generate_session_info to take an auth context
The auth context was in the past only for NTLM authentication, but we
need a SAM, an event context and and loadparm context for calculating
the local groups too, so re-use that infrustructure we already have in
place.

However, to avoid problems where we may not have an auth_context (in
torture tests, for example), allow a simpler 'session_info' to be
generated, by passing this via an indirection in gensec and an
generate_session_info() function pointer in the struct auth_context.

In the smb_server (for old-style session setups) we need to change the
async context to a new 'struct sesssetup_context'.  This allows us to
use the auth_context in processing the authentication reply .

Andrew Bartlett
2010-04-14 10:30:51 +10:00
..
config.mk Move MSRPC-PARSE into the common libcli/auth 2009-04-14 14:19:39 +10:00
ntlmssp_client.c s4:ntlmssp: rename gensec_ntlmssp_state => ntlmssp_state 2010-03-24 17:34:51 +01:00
ntlmssp_server.c s4:auth Change auth_generate_session_info to take an auth context 2010-04-14 10:30:51 +10:00
ntlmssp_sign.c s4:ntlmssp: move sign/seal states to a private ntlmssp_crypt_state union 2010-03-24 17:34:54 +01:00
ntlmssp.c s4:ntlmssp: inline ntlmssp_weakend_keys() 2010-03-24 17:34:52 +01:00
ntlmssp.h s4:ntlmssp: move sign/seal states to a private ntlmssp_crypt_state union 2010-03-24 17:34:54 +01:00
wscript_build s4-waf: removed the AUTOGENERATED markers 2010-04-06 20:27:16 +10:00