This plugin prevents the deletion or deactivation of the last valid token for a user. This prevents the user from migrating back to single factor authentication once OTP has been enabled. Thanks to Mark Reynolds for helping me with this patch. Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
29 lines
835 B
Makefile
29 lines
835 B
Makefile
MAINTAINERCLEANFILES = *~ Makefile.in
|
|
PLUGIN_COMMON_DIR = ../common
|
|
AM_CPPFLAGS = \
|
|
-I. \
|
|
-I$(srcdir) \
|
|
-I$(srcdir)/../libotp \
|
|
-I$(PLUGIN_COMMON_DIR) \
|
|
-I/usr/include/dirsrv \
|
|
-DPREFIX=\""$(prefix)"\" \
|
|
-DBINDIR=\""$(bindir)"\" \
|
|
-DLIBDIR=\""$(libdir)"\" \
|
|
-DLIBEXECDIR=\""$(libexecdir)"\" \
|
|
-DDATADIR=\""$(datadir)"\" \
|
|
$(AM_CFLAGS) \
|
|
$(LDAP_CFLAGS) \
|
|
$(WARN_CFLAGS)
|
|
|
|
plugindir = $(libdir)/dirsrv/plugins
|
|
plugin_LTLIBRARIES = libipa_otp_lasttoken.la
|
|
libipa_otp_lasttoken_la_SOURCES = ipa_otp_lasttoken.c
|
|
libipa_otp_lasttoken_la_LDFLAGS = -avoid-version -export-symbols ipa-otp-lasttoken.sym
|
|
libipa_otp_lasttoken_la_LIBADD = \
|
|
$(LDAP_LIBS) \
|
|
$(builddir)/../libotp/libotp.la
|
|
|
|
appdir = $(IPA_DATA_DIR)
|
|
app_DATA = otp-lasttoken-conf.ldif
|
|
EXTRA_DIST = $(app_DATA)
|