summaryrefslogtreecommitdiffstats
path: root/src/plugins/preauth
diff options
context:
space:
mode:
authorSam Hartman <hartmans@mit.edu>2010-10-19 19:50:48 +0000
committerSam Hartman <hartmans@mit.edu>2010-10-19 19:50:48 +0000
commitb98ac34fe6ef1d00216bdd239d3bd6219e8e6e38 (patch)
tree5d610ecbf09f797d6d513e10829ec4e4c46a7568 /src/plugins/preauth
parent9a59d967c14461b78667d6e1c1131b41d0928423 (diff)
downloadkrb5-b98ac34fe6ef1d00216bdd239d3bd6219e8e6e38.tar.gz
krb5-b98ac34fe6ef1d00216bdd239d3bd6219e8e6e38.tar.xz
krb5-b98ac34fe6ef1d00216bdd239d3bd6219e8e6e38.zip
SecurID build support
Integrate SecurID into the build if libaceclnt is found. Add a README file with an example of how to build it. ticket: 6807 target_version: 1.9 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24467 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/plugins/preauth')
-rw-r--r--src/plugins/preauth/securid_sam2/Makefile.in4
-rw-r--r--src/plugins/preauth/securid_sam2/README17
2 files changed, 19 insertions, 2 deletions
diff --git a/src/plugins/preauth/securid_sam2/Makefile.in b/src/plugins/preauth/securid_sam2/Makefile.in
index dd44414564..a32db4e26f 100644
--- a/src/plugins/preauth/securid_sam2/Makefile.in
+++ b/src/plugins/preauth/securid_sam2/Makefile.in
@@ -17,8 +17,8 @@ RELDIR=../plugins/preauth/securid_sam2
# Depends on libk5crypto and libkrb5
SHLIB_EXPDEPS = \
$(TOPLIBD)/libk5crypto$(SHLIBEXT) \
- $(TOPLIBD)/libkrb5$(SHLIBEXT)
-SHLIB_EXPLIBS= -lkrb5 -lcom_err -lk5crypto $(SUPPORT_LIB) $(LIBS)
+ $(TOPLIBD)/libkrb5$(SHLIBEXT) $(KADMSRV_DEPLIBS)
+SHLIB_EXPLIBS= -lkrb5 -lcom_err -lk5crypto $(SUPPORT_LIB) $(KADMSRV_LIBS) $(LIBS) -laceclnt
SHLIB_DIRS=-L$(TOPLIBD)
SHLIB_RDIRS=$(KRB5_LIBDIR)
diff --git a/src/plugins/preauth/securid_sam2/README b/src/plugins/preauth/securid_sam2/README
new file mode 100644
index 0000000000..8fc10284ef
--- /dev/null
+++ b/src/plugins/preauth/securid_sam2/README
@@ -0,0 +1,17 @@
+SecurID Preauth Support
+
+In order to build this library you will need the RSA 's ACE Agent
+SDK. Set the LDFLAGS and CPPFLAGS environment variables to include the
+appropriate paths for your SDK before running configure. If libaceclnt
+is found then the plugin will be enabled.
+For example:
+
+../src/configure CC='gcc -m32' CFLAGS=-g --prefix=/usr/local/krb5 \
+ --disable-rpath LDFLAGS=-L/home/developer/ace/ACEAgentSDK/lib/lnx \
+ CPPFLAGS=-I/home/developer/ace/ACEAgentSDK/inc
+
+
+Once the plugin is installed, set the requires_preauth and potentially
+requires_hwauth flags for a principal. Then create principal/SECURID
+as a new principal with a random key. That principal will now require
+SecurID authentication.