From 50fb3b123476882652032a129b64b5c1e1a93176 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Thu, 25 May 2006 23:31:26 +0000 Subject: [PATCH] Properly recognize Mac environments, and set {KRB5,KDB5}_PLUGIN_BUNDLE_DIR git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18043 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/stock/osconf.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/include/stock/osconf.h b/src/include/stock/osconf.h index 26a28054e..70ab3f7af 100644 --- a/src/include/stock/osconf.h +++ b/src/include/stock/osconf.h @@ -38,6 +38,10 @@ #endif #endif +#if defined(__MACH__) && defined(__APPLE__) +# include +#endif + #if defined(_WIN32) #define DEFAULT_PROFILE_FILENAME "krb5.ini" #define DEFAULT_LNAME_FILENAME "/aname" @@ -46,6 +50,8 @@ #if TARGET_OS_MAC #define DEFAULT_SECURE_PROFILE_PATH "/Library/Preferences/edu.mit.Kerberos:/etc/krb5.conf:@SYSCONFDIR/krb5.conf" #define DEFAULT_PROFILE_PATH ("~/Library/Preferences/edu.mit.Kerberos" ":" DEFAULT_SECURE_PROFILE_PATH) +#define KRB5_PLUGIN_BUNDLE_DIR "/System/Library/KerberosPlugins/KerberosFrameworkPlugins" +#define KDB5_PLUGIN_BUNDLE_DIR "/System/Library/KerberosPlugins/KerberosDatabasePlugins" #else #define DEFAULT_SECURE_PROFILE_PATH "/etc/krb5.conf:@SYSCONFDIR/krb5.conf" #define DEFAULT_PROFILE_PATH DEFAULT_SECURE_PROFILE_PATH -- 2.26.2