diff options
| author | Alexandra Ellwood <lxs@mit.edu> | 2006-05-04 03:06:33 +0000 |
|---|---|---|
| committer | Alexandra Ellwood <lxs@mit.edu> | 2006-05-04 03:06:33 +0000 |
| commit | 3dc32ec784b46bc0163fc4eb7da6001d35dc65c5 (patch) | |
| tree | 69985d2fecebf17fba18c0af7e04822392cf07c7 /src/include/stock | |
| parent | 6948c382617723bf68bd4ab455336cf8c8b85e07 (diff) | |
| download | krb5-3dc32ec784b46bc0163fc4eb7da6001d35dc65c5.tar.gz krb5-3dc32ec784b46bc0163fc4eb7da6001d35dc65c5.tar.xz krb5-3dc32ec784b46bc0163fc4eb7da6001d35dc65c5.zip | |
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
Diffstat (limited to 'src/include/stock')
| -rw-r--r-- | src/include/stock/osconf.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 |
