mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
71632a1697
When starting GENSEC on the server, the auth subsystem context must be passed in, which now includes function pointers to the key elements. This should (when the other dependencies are fixed up) allow GENSEC to exist as a client or server library without bundling in too much of our server code. Andrew Bartlett
51 lines
1.6 KiB
Makefile
51 lines
1.6 KiB
Makefile
# auth server subsystem
|
|
gensecsrcdir := $(authsrcdir)/gensec
|
|
mkinclude gensec/config.mk
|
|
mkinclude kerberos/config.mk
|
|
mkinclude ntlmssp/config.mk
|
|
mkinclude ntlm/config.mk
|
|
mkinclude credentials/config.mk
|
|
|
|
[SUBSYSTEM::auth_session]
|
|
PUBLIC_DEPENDENCIES = CREDENTIALS
|
|
|
|
PUBLIC_HEADERS += $(authsrcdir)/session.h
|
|
|
|
auth_session_OBJ_FILES = $(addprefix $(authsrcdir)/, session.o)
|
|
|
|
$(eval $(call proto_header_template,$(authsrcdir)/session_proto.h,$(auth_session_OBJ_FILES:.o=.c)))
|
|
|
|
[SUBSYSTEM::samba_server_gensec]
|
|
PUBLIC_DEPENDENCIES = CREDENTIALS GENSEC auth
|
|
|
|
samba_server_gensec_OBJ_FILES = $(addprefix $(authsrcdir)/, samba_server_gensec.o)
|
|
|
|
[SUBSYSTEM::auth_system_session]
|
|
PUBLIC_DEPENDENCIES = CREDENTIALS
|
|
PRIVATE_DEPENDENCIES = auth_session LIBSAMBA-UTIL LIBSECURITY
|
|
|
|
auth_system_session_OBJ_FILES = $(addprefix $(authsrcdir)/, system_session.o)
|
|
$(eval $(call proto_header_template,$(authsrcdir)/system_session_proto.h,$(auth_system_session_OBJ_FILES:.o=.c)))
|
|
|
|
[SUBSYSTEM::auth_sam]
|
|
PUBLIC_DEPENDENCIES = SAMDB UTIL_LDB LIBSECURITY
|
|
PRIVATE_DEPENDENCIES = LDAP_ENCODE
|
|
|
|
auth_sam_OBJ_FILES = $(addprefix $(authsrcdir)/, sam.o)
|
|
|
|
$(eval $(call proto_header_template,$(authsrcdir)/auth_sam.h,$(auth_sam_OBJ_FILES:.o=.c)))
|
|
|
|
[SUBSYSTEM::auth_sam_reply]
|
|
|
|
auth_sam_reply_OBJ_FILES = $(addprefix $(authsrcdir)/, auth_sam_reply.o)
|
|
|
|
$(eval $(call proto_header_template,$(authsrcdir)/auth_sam_reply.h,$(auth_sam_reply_OBJ_FILES:.o=.c)))
|
|
|
|
[PYTHON::pyauth]
|
|
LIBRARY_REALNAME = samba/auth.$(SHLIBEXT)
|
|
PUBLIC_DEPENDENCIES = auth_system_session
|
|
PRIVATE_DEPENDENCIES = SAMDB PYTALLOC param
|
|
|
|
pyauth_OBJ_FILES = $(authsrcdir)/pyauth.o
|
|
|