summaryrefslogtreecommitdiffstats
path: root/plugin
diff options
context:
space:
mode:
authorDavid Sommerseth <dazo@users.sourceforge.net>2013-03-03 00:46:23 +0100
committerDavid Sommerseth <dazo@users.sourceforge.net>2013-03-03 00:58:09 +0100
commit25e5147c7d3e16ec96713c214dc28e398b3be10c (patch)
treeb43c9612580f7070608a8848727cc5a358f0a5a8 /plugin
parent262442599d5352f8c48018d975b7f50a53dab33c (diff)
downloadeurephia-25e5147c7d3e16ec96713c214dc28e398b3be10c.tar.gz
eurephia-25e5147c7d3e16ec96713c214dc28e398b3be10c.tar.xz
eurephia-25e5147c7d3e16ec96713c214dc28e398b3be10c.zip
Added the first stab of an authentication plug-in framework
This enables a run-time loadable support for other authentication modules. This can be used to make eurephia authenticate user's passwords against other sources than the local eurephia database itself. Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
Diffstat (limited to 'plugin')
-rw-r--r--plugin/CMakeLists.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/plugin/CMakeLists.txt b/plugin/CMakeLists.txt
index db8384c..49aa132 100644
--- a/plugin/CMakeLists.txt
+++ b/plugin/CMakeLists.txt
@@ -1,6 +1,6 @@
# cmake rules for eurephia - OpenVPN authentication plugin
#
-# GPLv2 only - Copyright (C) 2008 - 2012
+# GPLv2 only - Copyright (C) 2008 - 2013
# David Sommerseth <dazo@users.sourceforge.net>
#
# This program is free software; you can redistribute it and/or
@@ -65,7 +65,7 @@ ENDIF(NOT HAVE_RT_MQ_OPEN OR NOT HAVE_RT_MQ_CLOSE OR NOT HAVE_RT_MQ_UNLINK OR NO
# Compiler settings
-INCLUDE_DIRECTORIES(../common ../database ./firewall .)
+INCLUDE_DIRECTORIES(../common ../auth ../database ./firewall .)
# Do build in subdirs, if some extra modules are enabled
@@ -92,6 +92,8 @@ ADD_LIBRARY(eurephia-auth MODULE
firewall/eurephiafw.c
firewall/eurephiafw_helpers.c
../common/eurephiadb_session_common.c
+ ../auth/eurephia_authplugin.c
+ ../auth/eurephia_authplugin_driver.c
)
SET_TARGET_PROPERTIES(eurephia-auth PROPERTIES PREFIX "")