From 8f09bfe9fa0e51c2bd1e2f533eb25655e88ca43b Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Tue, 7 Mar 2006 20:45:24 +0000 Subject: Merge from plugin branch Add plugin support: - plugin routines in support library (may break windows build!) - plugin support in KDC location code - sample Python-based plugin for KDC location, not built without tweaking sources - changed service location interface to use an enum instead of passing profile string and DNS strings and port numbers - changed pathnames for plugin locations, including kdb back end - remove locate_service from accessor API Also, do build shared libraries for Darwin just like any other UNIX box. Not present yet: - use new plugin interface for kdb back end - Windows support - Mac bundle support (but dlopen support works) - search path for libkrb5 plugins (only one hard-coded directory for now) - sorting of plugin collections for predictable ordering See the various ChangeLogs for specifics. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17706 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/krb5/ChangeLog | 5 +++++ src/include/krb5/Makefile.in | 2 +- src/include/krb5/stock/ChangeLog | 6 ++++++ src/include/krb5/stock/osconf.h | 4 +++- 4 files changed, 15 insertions(+), 2 deletions(-) (limited to 'src/include/krb5') diff --git a/src/include/krb5/ChangeLog b/src/include/krb5/ChangeLog index dcce9d0a7..bbc1d8b97 100644 --- a/src/include/krb5/ChangeLog +++ b/src/include/krb5/ChangeLog @@ -1,3 +1,8 @@ +2006-03-06 Ken Raeburn + + * Makefile.in (PROCESS_REPLACE): Use MODULE_DIR instead of + KRB5_DB_MODULE_DIR. + 2005-11-17 Ken Raeburn * Makefile.in (osconf.h): Always remove osconf.new. diff --git a/src/include/krb5/Makefile.in b/src/include/krb5/Makefile.in index 429b35515..7ef43d413 100644 --- a/src/include/krb5/Makefile.in +++ b/src/include/krb5/Makefile.in @@ -47,7 +47,7 @@ PROCESS_REPLACE = -e "s+@KRB5RCTMPDIR+$(KRB5RCTMPDIR)+" \ -e "s+@BINDIR+$(BINDIR)+" \ -e "s+@LIBDIR+$(LIBDIR)+" \ -e "s+@SBINDIR+$(SBINDIR)+" \ - -e "s+@MODULEDIR+$(KRB5_DB_MODULE_DIR)+" \ + -e "s+@MODULEDIR+$(MODULE_DIR)+" \ -e 's+@LOCALSTATEDIR+$(LOCALSTATEDIR)+' \ -e 's+@SYSCONFDIR+$(SYSCONFDIR)+' diff --git a/src/include/krb5/stock/ChangeLog b/src/include/krb5/stock/ChangeLog index cfa6cb4de..c341acea6 100644 --- a/src/include/krb5/stock/ChangeLog +++ b/src/include/krb5/stock/ChangeLog @@ -1,3 +1,9 @@ +2006-03-06 Ken Raeburn + + * osconf.h (DEFAULT_KDB_LIB_PATH): Add "/kdb" on end of + MODULEDIR. + (MODULE_PATH): New macro. + 2005-06-29 Ken Raeburn * osconf.h (DEFAULT_KDB_LIB_PATH): Use @MODULEDIR. Don't use a diff --git a/src/include/krb5/stock/osconf.h b/src/include/krb5/stock/osconf.h index 367109b11..03b2ce651 100644 --- a/src/include/krb5/stock/osconf.h +++ b/src/include/krb5/stock/osconf.h @@ -63,7 +63,9 @@ /* Location of KDC profile */ #define DEFAULT_KDC_PROFILE "@LOCALSTATEDIR/krb5kdc/kdc.conf" #define KDC_PROFILE_ENV "KRB5_KDC_PROFILE" -#define DEFAULT_KDB_LIB_PATH { "@MODULEDIR", NULL } + +#define DEFAULT_KDB_LIB_PATH { "@MODULEDIR/kdb", NULL } +#define MODULE_PATH "@MODULEDIR" #define DEFAULT_KDC_ENCTYPE ENCTYPE_DES3_CBC_SHA1 #define KDCRCACHE "dfl:krb5kdc_rcache" -- cgit