2004-07-11 16:38:27 +04:00
#################################
2006-03-07 19:41:04 +03:00
# Start SUBSYSTEM gensec
[LIBRARY :: gensec ]
2006-04-24 19:47:59 +04:00
PUBLIC_DEPENDENCIES = \
2009-12-22 18:24:44 +03:00
CREDENTIALS LIBSAMBA-UTIL LIBCRYPTO ASN1_UTIL samba_socket LIBPACKET LIBTSOCKET UTIL_TEVENT
2006-03-07 19:41:04 +03:00
# End SUBSYSTEM gensec
2004-07-11 16:38:27 +04:00
#################################
2008-05-18 21:46:09 +04:00
PC_FILES += $( gensecsrcdir) /gensec.pc
2008-04-15 04:25:16 +04:00
gensec_VERSION = 0.0.1
gensec_SOVERSION = 0
2008-05-18 21:46:09 +04:00
gensec_OBJ_FILES = $( addprefix $( gensecsrcdir) /, gensec.o socket.o)
2008-04-14 18:53:00 +04:00
2008-05-18 21:46:09 +04:00
PUBLIC_HEADERS += $( gensecsrcdir) /gensec.h
2008-02-29 16:23:38 +03:00
2008-05-19 01:02:47 +04:00
$(eval $(call proto_header_template,$(gensecsrcdir)/gensec_proto.h,$(gensec_OBJ_FILES : .o =.c )))
2008-05-18 23:09:04 +04:00
2004-07-11 16:38:27 +04:00
################################################
# Start MODULE gensec_krb5
[MODULE :: gensec_krb 5]
2006-03-07 19:41:04 +03:00
SUBSYSTEM = gensec
2004-11-07 02:23:15 +03:00
INIT_FUNCTION = gensec_krb5_init
2009-02-13 06:02:49 +03:00
PRIVATE_DEPENDENCIES = CREDENTIALS KERBEROS auth_session
2004-07-11 16:38:27 +04:00
# End MODULE gensec_krb5
################################################
2008-05-18 21:46:09 +04:00
gensec_krb5_OBJ_FILES = $( addprefix $( gensecsrcdir) /, gensec_krb5.o)
2008-04-14 18:53:00 +04:00
2005-01-01 03:19:08 +03:00
################################################
# Start MODULE gensec_gssapi
[MODULE :: gensec_gssapi ]
2006-03-07 19:41:04 +03:00
SUBSYSTEM = gensec
2005-01-01 03:19:08 +03:00
INIT_FUNCTION = gensec_gssapi_init
2007-12-17 06:22:44 +03:00
PRIVATE_DEPENDENCIES = HEIMDAL_GSSAPI CREDENTIALS KERBEROS
2005-01-01 03:19:08 +03:00
# End MODULE gensec_gssapi
################################################
2008-05-18 21:46:09 +04:00
gensec_gssapi_OBJ_FILES = $( addprefix $( gensecsrcdir) /, gensec_gssapi.o)
2008-04-14 18:53:00 +04:00
2006-09-06 14:34:18 +04:00
################################################
# Start MODULE cyrus_sasl
[MODULE :: cyrus_sasl ]
SUBSYSTEM = gensec
INIT_FUNCTION = gensec_sasl_init
2007-11-27 04:04:38 +03:00
PRIVATE_DEPENDENCIES = CREDENTIALS SASL
2006-09-06 14:34:18 +04:00
# End MODULE cyrus_sasl
################################################
2008-05-18 21:46:09 +04:00
cyrus_sasl_OBJ_FILES = $( addprefix $( gensecsrcdir) /, cyrus_sasl.o)
2008-04-14 18:53:00 +04:00
2004-07-11 16:38:27 +04:00
################################################
# Start MODULE gensec_spnego
[MODULE :: gensec_spnego ]
2006-03-07 19:41:04 +03:00
SUBSYSTEM = gensec
2004-11-07 02:23:15 +03:00
INIT_FUNCTION = gensec_spnego_init
2007-12-10 20:42:07 +03:00
PRIVATE_DEPENDENCIES = ASN1_UTIL CREDENTIALS
2004-07-11 16:38:27 +04:00
# End MODULE gensec_spnego
################################################
2009-09-17 02:21:01 +04:00
gensec_spnego_OBJ_FILES = $( addprefix $( gensecsrcdir) /, spnego.o) ../libcli/auth/spnego_parse.o
2008-04-14 18:53:00 +04:00
2008-05-19 01:02:47 +04:00
$(eval $(call proto_header_template,$(gensecsrcdir)/spnego_proto.h,$(gensec_spnego_OBJ_FILES : .o =.c )))
2008-05-18 23:09:04 +04:00
r6028: A MAJOR update to intergrate the new credentails system fully with
GENSEC, and to pull SCHANNEL into GENSEC, by making it less 'special'.
GENSEC now no longer has it's own handling of 'set username' etc,
instead it uses cli_credentials calls.
In order to link the credentails code right though Samba, a lot of
interfaces have changed to remove 'username, domain, password'
arguments, and these have been replaced with a single 'struct
cli_credentials'.
In the session setup code, a new parameter 'workgroup' contains the
client/server current workgroup, which seems unrelated to the
authentication exchange (it was being filled in from the auth info).
This allows in particular kerberos to only call back for passwords
when it actually needs to perform the kinit.
The kerberos code has been modified not to use the SPNEGO provided
'principal name' (in the mechListMIC), but to instead use the name the
host was connected to as. This better matches Microsoft behaviour,
is more secure and allows better use of standard kerberos functions.
To achieve this, I made changes to our socket code so that the
hostname (before name resolution) is now recorded on the socket.
In schannel, most of the code from librpc/rpc/dcerpc_schannel.c is now
in libcli/auth/schannel.c, and it looks much more like a standard
GENSEC module. The actual sign/seal code moved to
libcli/auth/schannel_sign.c in a previous commit.
The schannel credentails structure is now merged with the rest of the
credentails, as many of the values (username, workstation, domain)
where already present there. This makes handling this in a generic
manner much easier, as there is no longer a custom entry-point.
The auth_domain module continues to be developed, but is now just as
functional as auth_winbind. The changes here are consequential to the
schannel changes.
The only removed function at this point is the RPC-LOGIN test
(simulating the load of a WinXP login), which needs much more work to
clean it up (it contains copies of too much code from all over the
torture suite, and I havn't been able to penetrate its 'structure').
Andrew Bartlett
(This used to be commit 2301a4b38a21aa60917973451687063d83d18d66)
2005-03-24 07:14:06 +03:00
################################################
# Start MODULE gensec_schannel
[MODULE :: gensec_schannel ]
2006-03-07 19:41:04 +03:00
SUBSYSTEM = gensec
r6028: A MAJOR update to intergrate the new credentails system fully with
GENSEC, and to pull SCHANNEL into GENSEC, by making it less 'special'.
GENSEC now no longer has it's own handling of 'set username' etc,
instead it uses cli_credentials calls.
In order to link the credentails code right though Samba, a lot of
interfaces have changed to remove 'username, domain, password'
arguments, and these have been replaced with a single 'struct
cli_credentials'.
In the session setup code, a new parameter 'workgroup' contains the
client/server current workgroup, which seems unrelated to the
authentication exchange (it was being filled in from the auth info).
This allows in particular kerberos to only call back for passwords
when it actually needs to perform the kinit.
The kerberos code has been modified not to use the SPNEGO provided
'principal name' (in the mechListMIC), but to instead use the name the
host was connected to as. This better matches Microsoft behaviour,
is more secure and allows better use of standard kerberos functions.
To achieve this, I made changes to our socket code so that the
hostname (before name resolution) is now recorded on the socket.
In schannel, most of the code from librpc/rpc/dcerpc_schannel.c is now
in libcli/auth/schannel.c, and it looks much more like a standard
GENSEC module. The actual sign/seal code moved to
libcli/auth/schannel_sign.c in a previous commit.
The schannel credentails structure is now merged with the rest of the
credentails, as many of the values (username, workstation, domain)
where already present there. This makes handling this in a generic
manner much easier, as there is no longer a custom entry-point.
The auth_domain module continues to be developed, but is now just as
functional as auth_winbind. The changes here are consequential to the
schannel changes.
The only removed function at this point is the RPC-LOGIN test
(simulating the load of a WinXP login), which needs much more work to
clean it up (it contains copies of too much code from all over the
torture suite, and I havn't been able to penetrate its 'structure').
Andrew Bartlett
(This used to be commit 2301a4b38a21aa60917973451687063d83d18d66)
2005-03-24 07:14:06 +03:00
INIT_FUNCTION = gensec_schannel_init
2010-02-18 23:11:25 +03:00
PRIVATE_DEPENDENCIES = COMMON_SCHANNELDB NDR_SCHANNEL CREDENTIALS LIBNDR auth_session
2008-02-18 21:06:17 +03:00
OUTPUT_TYPE = MERGED_OBJ
2005-04-25 09:03:50 +04:00
# End MODULE gensec_schannel
r6028: A MAJOR update to intergrate the new credentails system fully with
GENSEC, and to pull SCHANNEL into GENSEC, by making it less 'special'.
GENSEC now no longer has it's own handling of 'set username' etc,
instead it uses cli_credentials calls.
In order to link the credentails code right though Samba, a lot of
interfaces have changed to remove 'username, domain, password'
arguments, and these have been replaced with a single 'struct
cli_credentials'.
In the session setup code, a new parameter 'workgroup' contains the
client/server current workgroup, which seems unrelated to the
authentication exchange (it was being filled in from the auth info).
This allows in particular kerberos to only call back for passwords
when it actually needs to perform the kinit.
The kerberos code has been modified not to use the SPNEGO provided
'principal name' (in the mechListMIC), but to instead use the name the
host was connected to as. This better matches Microsoft behaviour,
is more secure and allows better use of standard kerberos functions.
To achieve this, I made changes to our socket code so that the
hostname (before name resolution) is now recorded on the socket.
In schannel, most of the code from librpc/rpc/dcerpc_schannel.c is now
in libcli/auth/schannel.c, and it looks much more like a standard
GENSEC module. The actual sign/seal code moved to
libcli/auth/schannel_sign.c in a previous commit.
The schannel credentails structure is now merged with the rest of the
credentails, as many of the values (username, workstation, domain)
where already present there. This makes handling this in a generic
manner much easier, as there is no longer a custom entry-point.
The auth_domain module continues to be developed, but is now just as
functional as auth_winbind. The changes here are consequential to the
schannel changes.
The only removed function at this point is the RPC-LOGIN test
(simulating the load of a WinXP login), which needs much more work to
clean it up (it contains copies of too much code from all over the
torture suite, and I havn't been able to penetrate its 'structure').
Andrew Bartlett
(This used to be commit 2301a4b38a21aa60917973451687063d83d18d66)
2005-03-24 07:14:06 +03:00
################################################
2009-09-15 20:29:10 +04:00
gensec_schannel_OBJ_FILES = $( addprefix $( gensecsrcdir) /, schannel.o) ../libcli/auth/schannel_sign.o
2008-05-19 01:02:47 +04:00
$(eval $(call proto_header_template,$(gensecsrcdir)/schannel_proto.h,$(gensec_schannel_OBJ_FILES : .o =.c )))
2008-04-14 18:53:00 +04:00
2009-09-26 21:41:59 +04:00
[PYTHON :: pygensec ]
2009-10-02 12:50:59 +04:00
PRIVATE_DEPENDENCIES = gensec PYTALLOC pyparam_util
2009-09-26 21:41:59 +04:00
LIBRARY_REALNAME = samba/gensec.$( SHLIBEXT)
pygensec_OBJ_FILES = $( gensecsrcdir) /pygensec.o