1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/source4/auth
Andrew Bartlett dc9f55dbec r1294: A nice, large, commit...
This implements gensec for Samba's server side, and brings gensec up
to the standards of a full subsystem.

This means that use of the subsystem is by gensec_* functions, not
function pointers in structures (this is internal).  This causes
changes in all the existing gensec users.

Our RPC server no longer contains it's own generalised security
scheme, and now calls gensec directly.

Gensec has also taken over the role of auth/auth_ntlmssp.c

An important part of gensec, is the output of the 'session_info'
struct.  This is now reference counted, so that we can correctly free
it when a pipe is closed, no matter if it was inherited, or created by
per-pipe authentication.

The schannel code is reworked, to be in the same file for client and
server.

ntlm_auth is reworked to use gensec.

The major problem with this code is the way it relies on subsystem
auto-initialisation.  The primary reason for this commit now.is to
allow these problems to be looked at, and fixed.

There are problems with the new code:
- I've tested it with smbtorture, but currently don't have VMware and
  valgrind working (this I'll fix soon).
- The SPNEGO code is client-only at this point.
- We still do not do kerberos.

Andrew Bartlett
(This used to be commit 07fd885fd4)
2007-10-10 12:56:49 -05:00
..
auth_builtin.c r1019: Push the auth subsystem away from using typedef, and over to the 'all 2007-10-10 12:56:28 -05:00
auth_domain.c r1063: userdom_struct dies! 2007-10-10 12:56:36 -05:00
auth_sam.c r1151: fixed fill-in of force_password_change field in auth_sam 2007-10-10 12:56:41 -05:00
auth_server.c r1063: userdom_struct dies! 2007-10-10 12:56:36 -05:00
auth_unix.c - port AUTH and PASSDB subsystems to new 2004-02-03 11:10:56 +00:00
auth_util.c r1294: A nice, large, commit... 2007-10-10 12:56:49 -05:00
auth_winbind.c r890: convert samba4 to use [u]int8_t instead of [u]int8 2007-10-10 12:56:16 -05:00
auth.c r1292: Add const to the subsystem/module registration code. 2007-10-10 12:56:49 -05:00
auth.h r1294: A nice, large, commit... 2007-10-10 12:56:49 -05:00
config.m4 r1294: A nice, large, commit... 2007-10-10 12:56:49 -05:00
config.mk r1294: A nice, large, commit... 2007-10-10 12:56:49 -05:00
pampass.c * the RPC-ECHO pipe now works in smbd, as long as the data sizes 2003-12-12 03:59:09 +00:00
pass_check.c r943: change samba4 to use 'uint8_t' instead of 'unsigned char' 2007-10-10 12:56:21 -05:00