svn rev #23923: branches/plugins/src/ lib/krb5/ plugin_core/ plugin_core/impl/

tsitkova@MIT.EDU tsitkova at MIT.EDU
Thu Apr 22 14:24:05 EDT 2010


http://src.mit.edu/fisheye/changelog/krb5/?cs=23923
Commit By: tsitkova
Log Message:
For the experiment and as a proof of the concept, implement preauth/encrypted_challenge server side as a new plugin under the new arch.
This commit is for plugin implementation and initialization only. Next step is to invoke the code in kdc.




Changed Files:
U   branches/plugins/src/Makefile.in
U   branches/plugins/src/configure.in
U   branches/plugins/src/lib/krb5/Makefile.in
U   branches/plugins/src/plugin_core/impl/Makefile.in
U   branches/plugins/src/plugin_core/impl/deps
U   branches/plugins/src/plugin_core/impl/plugin_default_factory.c
U   branches/plugins/src/plugin_core/plugin_manager.h
Modified: branches/plugins/src/Makefile.in
===================================================================
--- branches/plugins/src/Makefile.in	2010-04-22 03:44:44 UTC (rev 23922)
+++ branches/plugins/src/Makefile.in	2010-04-22 18:24:05 UTC (rev 23923)
@@ -7,7 +7,9 @@
 #	plugins/preauth/wpse
 #	plugins/preauth/cksum_body
 #	plugins/authdata/greet
-SUBDIRS=util include plugin_core   plugins/prng lib \
+SUBDIRS=util include plugin_core   plugins/prng \
+	plugins/pa plugins/pa/encrypted_challenge \
+	lib \
 	@ldap_plugin_dir@ \
 	plugins/kdb/db2 \
 	plugins/preauth/pkinit \

Modified: branches/plugins/src/configure.in
===================================================================
--- branches/plugins/src/configure.in	2010-04-22 03:44:44 UTC (rev 23922)
+++ branches/plugins/src/configure.in	2010-04-22 18:24:05 UTC (rev 23923)
@@ -1118,6 +1118,8 @@
 	plugins/prng
 	plugin_core/impl
 	plugins/prng/plugin_yarrow
+	plugins/pa
+	plugins/pa/encrypted_challenge
 	plugin_core
 
 	clients clients/klist clients/kinit clients/kvno

Modified: branches/plugins/src/lib/krb5/Makefile.in
===================================================================
--- branches/plugins/src/lib/krb5/Makefile.in	2010-04-22 03:44:44 UTC (rev 23922)
+++ branches/plugins/src/lib/krb5/Makefile.in	2010-04-22 18:24:05 UTC (rev 23923)
@@ -1,13 +1,15 @@
 mydir=lib/krb5
 BUILDTOP=$(REL)..$(S)..
 LOCALINCLUDES = -I$(srcdir)/ccache -I$(srcdir)/keytab -I$(srcdir)/rcache -I$(srcdir)/os -I$(srcdir)/unicode	\
-	-I$(srcdir)/../../plugin_core/ -I$(srcdir)/../../plugins/prng/ -I$(srcdir)/../../plugin_core/impl
+	-I$(srcdir)/../../plugin_core/ -I$(srcdir)/../../plugins/prng/ -I$(srcdir)/../../plugin_core/impl	\
+	-I$(srcdir)/../../pa -I$(srcdir)/../../pa/encrypted_challenge
 
 SUBDIRS= error_tables asn.1 ccache keytab krb os rcache unicode
 DEFS=
 
 PLUGINS_LIBS = \
 	../../plugin_core/impl/libplugin_impl.a $(PLUGIN_CORE_DEPLIB) 	\
+	../../plugins/pa/encrypted_challenge/libencrypted_challenge.a	\
 	../../plugins/prng/plugin_yarrow/libplugin_yarrow.a
 
 

Modified: branches/plugins/src/plugin_core/impl/Makefile.in
===================================================================
--- branches/plugins/src/plugin_core/impl/Makefile.in	2010-04-22 03:44:44 UTC (rev 23922)
+++ branches/plugins/src/plugin_core/impl/Makefile.in	2010-04-22 18:24:05 UTC (rev 23923)
@@ -7,6 +7,7 @@
 
 LOCALINCLUDES = -I$(srcdir)/../../include/krb5  -I$(srcdir)/. 	\
 		-I$(srcdir)/../../plugins/prng/plugin_yarrow -I$(srcdir)/../../plugins/prng 	\
+		-I$(srcdir)/../../plugins/pa -I$(srcdir)/../../plugins/pa/encrypted_challenge 	\
 		-I$(srcdir)/..
 
 LIBBASE=plugin_impl

Modified: branches/plugins/src/plugin_core/impl/deps
===================================================================
--- branches/plugins/src/plugin_core/impl/deps	2010-04-22 03:44:44 UTC (rev 23922)
+++ branches/plugins/src/plugin_core/impl/deps	2010-04-22 18:24:05 UTC (rev 23923)
@@ -9,6 +9,7 @@
   $(BUILDTOP)/include/krb5/krb5.h $(COM_ERR_DEPS) $(top_srcdir)/plugin_core/plugin_factory.h \
   $(top_srcdir)/plugin_core/plugin_manager.h \
   $(top_srcdir)/plugins/prng/plugin_yarrow/plugin_prng_impl.h \
+  $(top_srcdir)/plugins/pa/encrypted_challenge/plugin_pa_impl.h \
   $(top_srcdir)/plugin_core/impl/plugin_default_manager.h \
   $(top_srcdir)/plugin_core/impl/plugin_default_factory.h \
   plugin_default_factory.c

Modified: branches/plugins/src/plugin_core/impl/plugin_default_factory.c
===================================================================
--- branches/plugins/src/plugin_core/impl/plugin_default_factory.c	2010-04-22 03:44:44 UTC (rev 23922)
+++ branches/plugins/src/plugin_core/impl/plugin_default_factory.c	2010-04-22 18:24:05 UTC (rev 23923)
@@ -9,13 +9,14 @@
 #include "plugin_manager.h"
 #include "plugin_factory.h"
 #include "plugin_prng_impl.h"
+#include "plugin_pa_impl.h"
 #include "plugin_default_factory.h"
 
 static plugin_factory* _default_factory_instance = NULL;
 
 static plugin_descr  plugin_default_factory_table[] = {
         {"plugin_yarrow_prng", plugin_yarrow_prng_create},
-        //{"plugin_simple_prng", plugin_simple_prng_create},
+        {"plugin_encrypted_challenge_pa", plugin_encrypted_challenge_pa_create},
         {"plugin_ldap_audit", NULL},
         {NULL,NULL}
 };

Modified: branches/plugins/src/plugin_core/plugin_manager.h
===================================================================
--- branches/plugins/src/plugin_core/plugin_manager.h	2010-04-22 03:44:44 UTC (rev 23922)
+++ branches/plugins/src/plugin_core/plugin_manager.h	2010-04-22 18:24:05 UTC (rev 23923)
@@ -8,7 +8,6 @@
 
 #include <k5-int.h>
 
-
 typedef struct {
 	void* data;
 	void (*configure)(void* data, const char*);




More information about the cvs-krb5 mailing list