2006-03-19 20:51:15 +03:00
# auth server subsystem
2005-10-21 20:29:54 +04:00
i n c l u d e g e n s e c / c o n f i g . m k
i n c l u d e k e r b e r o s / c o n f i g . m k
i n c l u d e n t l m s s p / c o n f i g . m k
i n c l u d e c r e d e n t i a l s / c o n f i g . m k
2004-05-24 20:54:41 +04:00
#######################
# Start MODULE auth_sam
[MODULE :: auth_sam ]
2006-03-17 03:45:52 +03:00
# gensec_krb5 and gensec_gssapi depend on it
OUTPUT_TYPE = MERGEDOBJ
2006-03-07 14:07:23 +03:00
PRIVATE_PROTO_HEADER = auth_sam.h
2004-11-07 02:23:15 +03:00
INIT_FUNCTION = auth_sam_init
2006-03-07 19:41:04 +03:00
SUBSYSTEM = auth
2005-12-26 21:03:50 +03:00
OBJ_FILES = \
2005-10-21 20:29:54 +04:00
auth_sam.o
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 07fd885fd488fd1051eacc905a2d4962f8a018ec)
2004-06-29 13:40:10 +04:00
REQUIRED_SUBSYSTEMS = \
SAMDB
2004-05-24 20:54:41 +04:00
# End MODULE auth_sam
#######################
#######################
2005-01-09 15:55:25 +03:00
# Start MODULE auth_anonymous
[MODULE :: auth_anonymous ]
INIT_FUNCTION = auth_anonymous_init
2006-03-07 19:41:04 +03:00
SUBSYSTEM = auth
2005-12-26 21:03:50 +03:00
OBJ_FILES = \
2005-10-21 20:29:54 +04:00
auth_anonymous.o
2005-01-09 15:55:25 +03:00
# End MODULE auth_anonymous
2004-05-24 20:54:41 +04:00
#######################
2004-10-25 03:54:00 +04:00
#######################
# Start MODULE auth_winbind
[MODULE :: auth_winbind ]
2004-11-07 02:23:15 +03:00
INIT_FUNCTION = auth_winbind_init
2006-03-07 19:41:04 +03:00
SUBSYSTEM = auth
2005-12-26 21:03:50 +03:00
OBJ_FILES = \
2005-10-21 20:29:54 +04:00
auth_winbind.o
2004-10-25 03:54:00 +04:00
REQUIRED_SUBSYSTEMS = \
2006-03-19 22:47:05 +03:00
LIBWINBIND-CLIENT \
2005-10-26 18:18:27 +04:00
NDR_NETLOGON LIBNDR
2005-01-09 15:55:25 +03:00
# End MODULE auth_winbind
#######################
#######################
# Start MODULE auth_developer
[MODULE :: auth_developer ]
INIT_FUNCTION = auth_developer_init
2006-03-07 19:41:04 +03:00
SUBSYSTEM = auth
2005-12-26 21:03:50 +03:00
OBJ_FILES = \
2005-10-21 20:29:54 +04:00
auth_developer.o
2005-01-09 15:55:25 +03:00
# End MODULE auth_developer
2004-10-25 03:54:00 +04:00
#######################
2005-06-03 18:06:23 +04:00
#######################
2005-09-16 00:03:35 +04:00
# Start MODULE auth_unix
2005-06-03 18:06:23 +04:00
[MODULE :: auth_unix ]
INIT_FUNCTION = auth_unix_init
2006-03-07 19:41:04 +03:00
SUBSYSTEM = auth
2005-12-26 21:03:50 +03:00
OBJ_FILES = \
2005-10-21 20:29:54 +04:00
auth_unix.o
2005-06-03 18:06:23 +04:00
REQUIRED_SUBSYSTEMS = \
2005-06-27 03:21:25 +04:00
EXT_LIB_CRYPT EXT_LIB_PAM PAM_ERRORS
2005-09-16 00:03:35 +04:00
# End MODULE auth_unix
2005-06-03 18:06:23 +04:00
#######################
2005-09-16 00:03:35 +04:00
[SUBSYSTEM :: PAM_ERRORS ]
2006-03-07 16:36:26 +03:00
PRIVATE_PROTO_HEADER = pam_errors.h
2005-10-21 20:29:54 +04:00
OBJ_FILES = pam_errors.o
2005-09-16 00:03:35 +04:00
2004-05-24 20:54:41 +04:00
#######################
2006-03-07 19:41:04 +03:00
# Start SUBSYSTEM auth
[SUBSYSTEM :: auth ]
2006-03-16 20:51:04 +03:00
PUBLIC_HEADERS = auth.h
PUBLIC_PROTO_HEADER = auth_proto.h
2005-12-26 21:03:50 +03:00
OBJ_FILES = \
auth.o \
2005-10-21 20:29:54 +04:00
auth_util.o \
auth_sam_reply.o \
2005-12-19 09:56:45 +03:00
ntlm_check.o \
auth_simple.o
2006-03-19 20:51:15 +03:00
REQUIRED_SUBSYSTEMS = LIB_SECURITY process_model
2006-03-07 19:41:04 +03:00
# End SUBSYSTEM auth
2004-05-24 20:54:41 +04:00
#######################