1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
samba-mirror/source4/auth
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
..
credentials s4:credentials Add the functions needed to do S4U2Self with cli_credentials 2010-04-10 21:40:58 +10:00
gensec s4:auth Change auth_generate_session_info to take an auth context 2010-04-14 10:30:51 +10:00
kerberos s4:credentials Add the functions needed to do S4U2Self with cli_credentials 2010-04-10 21:40:58 +10:00
ntlm s4:auth Change auth_generate_session_info to take an auth context 2010-04-14 10:30:51 +10:00
ntlmssp s4:auth Change auth_generate_session_info to take an auth context 2010-04-14 10:30:51 +10:00
tests Fix various Python-related bugs. 2008-12-21 07:34:27 +01:00
auth_sam_reply.c s4:auth/auth_sam_reply.c - fix counter types 2010-04-12 18:49:01 +02:00
auth.h s4:auth Change auth_generate_session_info to take an auth context 2010-04-14 10:30:51 +10:00
config.m4 s4: Modify auth/config.m4 to move pam tests to nsswitch.m4 so that we tests things in one place 2010-03-11 13:31:37 +01:00
config.mk python: Move helper functions for using param into a separate file rather 2009-06-02 18:05:40 +02:00
pyauth.c pynet: Create a net class. 2010-04-08 23:22:55 +02:00
pyauth.h s4-python: Move set_session_info to PySambaLdb. 2010-04-06 13:12:43 +02:00
sam.c s4:auth Change auth_generate_session_info to take an auth context 2010-04-14 10:30:51 +10:00
samba_server_gensec.c removed a redundent talloc_steal 2009-07-01 15:15:36 +10:00
session.c s4:auth Change auth_generate_session_info to take an auth context 2010-04-14 10:30:51 +10:00
session.h s4:auth Change auth_generate_session_info to take an auth context 2010-04-14 10:30:51 +10:00
system_session.c s4:auth Change auth_generate_session_info to take an auth context 2010-04-14 10:30:51 +10:00
wscript_build s4-waf: move to a universal method of recursing into subdirs 2010-04-06 20:27:25 +10:00
wscript_configure s4-waf: mark the wscript files as python so vim/emacs knows how to highlight them 2010-04-06 20:27:11 +10:00