mirror of
https://github.com/samba-team/samba.git
synced 2024-12-28 07:21:54 +03:00
9a7481bcfe
We now generate the PAC, and can verifiy both our own PAC and the PAC
from Win2k3.
This commit adds the PAC generation code, spits out the code to get
the information we need from the NETLOGON server back into a auth/
helper function, and adds a number of glue functions.
In the process of building the PAC generation code, some hints in the
Microsoft PAC specification shed light on other parts of the code, and
the updates to samr.idl and netlogon.idl come from those hints.
Also in this commit:
The Heimdal build package has been split up, so as to only link the
KDC with smbd, not the client utils.
To enable the PAC to be veified with gensec_krb5 (which isn't quite
dead yet), the keyblock has been passed back to the calling layer.
Andrew Bartlett
(This used to be commit e2015671c2
)
83 lines
1.7 KiB
Makefile
83 lines
1.7 KiB
Makefile
# AUTH Server subsystem
|
|
|
|
#######################
|
|
# Start MODULE auth_sam
|
|
[MODULE::auth_sam]
|
|
INIT_FUNCTION = auth_sam_init
|
|
SUBSYSTEM = AUTH
|
|
INIT_OBJ_FILES = \
|
|
auth/auth_sam.o
|
|
REQUIRED_SUBSYSTEMS = \
|
|
SAMDB
|
|
# End MODULE auth_sam
|
|
#######################
|
|
|
|
#######################
|
|
# Start MODULE auth_anonymous
|
|
[MODULE::auth_anonymous]
|
|
INIT_FUNCTION = auth_anonymous_init
|
|
SUBSYSTEM = AUTH
|
|
INIT_OBJ_FILES = \
|
|
auth/auth_anonymous.o
|
|
# End MODULE auth_anonymous
|
|
#######################
|
|
|
|
#######################
|
|
# Start MODULE auth_winbind
|
|
[MODULE::auth_winbind]
|
|
INIT_FUNCTION = auth_winbind_init
|
|
SUBSYSTEM = AUTH
|
|
INIT_OBJ_FILES = \
|
|
auth/auth_winbind.o
|
|
REQUIRED_SUBSYSTEMS = \
|
|
LIB_WINBIND_CLIENT \
|
|
NDR_NETLOGON NDR_RAW
|
|
# End MODULE auth_winbind
|
|
#######################
|
|
|
|
#######################
|
|
# Start MODULE auth_domain
|
|
[MODULE::auth_domain]
|
|
INIT_FUNCTION = auth_domain_init
|
|
SUBSYSTEM = AUTH
|
|
INIT_OBJ_FILES = \
|
|
auth/auth_domain.o
|
|
REQUIRED_SUBSYSTEMS = \
|
|
NDR_NETLOGON NDR_RAW
|
|
# End MODULE auth_winbind
|
|
#######################
|
|
|
|
#######################
|
|
# Start MODULE auth_developer
|
|
[MODULE::auth_developer]
|
|
INIT_FUNCTION = auth_developer_init
|
|
SUBSYSTEM = AUTH
|
|
INIT_OBJ_FILES = \
|
|
auth/auth_developer.o
|
|
# End MODULE auth_developer
|
|
#######################
|
|
|
|
#######################
|
|
# Start MODULE auth_developer
|
|
[MODULE::auth_unix]
|
|
INIT_FUNCTION = auth_unix_init
|
|
SUBSYSTEM = AUTH
|
|
INIT_OBJ_FILES = \
|
|
auth/auth_unix.o
|
|
REQUIRED_SUBSYSTEMS = \
|
|
EXT_LIB_CRYPT EXT_LIB_PAM PAM_ERRORS
|
|
# End MODULE auth_developer
|
|
#######################
|
|
|
|
#######################
|
|
# Start SUBSYSTEM AUTH
|
|
[SUBSYSTEM::AUTH]
|
|
INIT_OBJ_FILES = \
|
|
auth/auth.o
|
|
ADD_OBJ_FILES = \
|
|
auth/auth_util.o \
|
|
auth/auth_sam_reply.o \
|
|
auth/ntlm_check.o
|
|
# End SUBSYSTEM AUTH
|
|
#######################
|