Files
heimdal/tests/gss/Makefile.am
Luke Howard 4fb6a6adc9 gss: port NegoEx implementation from MIT
An implementation of draft-zhu-negoex-04 for MIT Kerberos was developed in
2011. This has been recently integrated, with many fixes from Greg Hudson. This
commit ports it to Heimdal. The implementation has been interoperability tested
with MIT Kerberos and Windows, using the GSS EAP mechanism developed as part of
the Moonshot project.

The SPNEGO code was also updated to import the state machine from Apple which
improves mechListMIC processing and avoids discarding initial context tokens
generated during mechanism probing, that can be used for optimistic tokens.

Finally, to aid in testing, the GSS-API mechanism glue configuration file can
be changed using the environment variable GSS_MECH_CONFIG. This environment
variable name, along with the format of the configuration file, is compatible
with MIT (although it would be difficult for a single mechanism binary to
support both implementations).
2020-02-04 17:28:35 +11:00

95 lines
2.3 KiB
Makefile

# $Id$
include $(top_srcdir)/Makefile.am.common
noinst_DATA = krb5.conf mech
SCRIPT_TESTS = check-basic check-gss check-gssmask check-context check-spnego check-ntlm check-negoex
TESTS = $(SCRIPT_TESTS)
check_SCRIPTS = $(SCRIPT_TESTS)
port = 49188
do_subst = srcdirabs=`cd "$(srcdir)"; pwd`; sed \
-e 's,[@]srcdir[@],$(srcdir),g' \
-e "s,[@]srcdirabs[@],$${srcdirabs},g" \
-e 's,[@]env_setup[@],$(top_builddir)/tests/bin/setup-env,g' \
-e 's,[@]port[@],$(port),g' \
-e 's,[@]objdir[@],$(top_builddir)/tests/gss,g'
check-gss: check-gss.in Makefile
$(do_subst) < $(srcdir)/check-gss.in > check-gss.tmp && \
chmod +x check-gss.tmp && \
mv check-gss.tmp check-gss
check-gssmask: check-gssmask.in Makefile
$(do_subst) < $(srcdir)/check-gssmask.in > check-gssmask.tmp && \
chmod +x check-gssmask.tmp && \
mv check-gssmask.tmp check-gssmask
check-context: check-context.in Makefile
$(do_subst) < $(srcdir)/check-context.in > check-context.tmp && \
chmod +x check-context.tmp && \
mv check-context.tmp check-context
check-spnego: check-spnego.in Makefile
$(do_subst) < $(srcdir)/check-spnego.in > check-spnego.tmp && \
chmod +x check-spnego.tmp && \
mv check-spnego.tmp check-spnego
check-basic: check-basic.in Makefile
$(do_subst) < $(srcdir)/check-basic.in > check-basic.tmp && \
chmod +x check-basic.tmp && \
mv check-basic.tmp check-basic
check-ntlm: check-ntlm.in Makefile
$(do_subst) < $(srcdir)/check-ntlm.in > check-ntlm.tmp && \
chmod +x check-ntlm.tmp && \
mv check-ntlm.tmp check-ntlm
check-negoex: check-negoex.in Makefile
$(do_subst) < $(srcdir)/check-negoex.in > check-negoex.tmp && \
chmod +x check-negoex.tmp && \
mv check-negoex.tmp check-negoex
krb5.conf: krb5.conf.in Makefile
$(do_subst) < $(srcdir)/krb5.conf.in > krb5.conf.tmp && \
mv krb5.conf.tmp krb5.conf
mech: mech.in Makefile
$(do_subst) < $(srcdir)/mech.in > mech.tmp && \
mv mech.tmp mech
CLEANFILES= \
$(TESTS) \
foopassword \
barpassword \
krb5ccfile \
krb5ccfile-ds \
server.keytab \
krb5.conf \
mech \
current-db* \
*.log \
tempfile \
check-basic.tmp \
check-gss.tmp \
check-gssmask.tmp \
check-spnego.tmp \
check-ntlm.tmp \
check-context.tmp
EXTRA_DIST = \
NTMakefile \
check-basic.in \
check-gss.in \
check-gssmask.in \
check-spnego.in \
check-ntlm.in \
check-context.in \
ntlm-user-file.txt \
krb5.conf.in \
mech.in