From 3dc32ec784b46bc0163fc4eb7da6001d35dc65c5 Mon Sep 17 00:00:00 2001 From: Alexandra Ellwood Date: Thu, 4 May 2006 03:06:33 +0000 Subject: Changed to krb5int_open_plugin_dirs/krb5int_close_plugin_dirs which takes a list of filebases and directories rather than a list of full paths so the caller doesn't have to generate the possibilities themselves. krb5int_open_plugin_dirs will append the possible suffixes for that platform (including no suffix in case there already is one on the file base). Modified the kdb and locate kdc interfaces to use the new API. ticket: 3716 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17975 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/stock/osconf.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/include/stock') diff --git a/src/include/stock/osconf.h b/src/include/stock/osconf.h index 03b2ce651..26a28054e 100644 --- a/src/include/stock/osconf.h +++ b/src/include/stock/osconf.h @@ -64,7 +64,11 @@ #define DEFAULT_KDC_PROFILE "@LOCALSTATEDIR/krb5kdc/kdc.conf" #define KDC_PROFILE_ENV "KRB5_KDC_PROFILE" +#if TARGET_OS_MAC +#define DEFAULT_KDB_LIB_PATH { KDB5_PLUGIN_BUNDLE_DIR, "@MODULEDIR/kdb", NULL } +#else #define DEFAULT_KDB_LIB_PATH { "@MODULEDIR/kdb", NULL } +#endif #define MODULE_PATH "@MODULEDIR" #define DEFAULT_KDC_ENCTYPE ENCTYPE_DES3_CBC_SHA1 -- cgit