+2003-03-06 Alexandra Ellwood <lxs@mit.edu>
+
+ * osconf.h: Added DEFAULT_SECURE_PROFILE_PATH so that KfM will only
+ search paths that start with ~/ (homedir-based) when getting an
+ insecure context. This is the same as DEFAULT_PROFILE_PATH on all
+ other platforms, which allows us to avoid more references to
+ TARGET_OS_MAC in krb5 sources.
+
2002-09-18 Ken Raeburn <raeburn@mit.edu>
* osconf.h (DEFAULT_KDC_UDP_PORTLIST): Renamed from
#define DEFAULT_KEYTAB_NAME "FILE:%s\\krb5kt"
#else /* !_WINDOWS */
#if TARGET_OS_MAC
-#define DEFAULT_PROFILE_PATH "/Library/Preferences/edu.mit.Kerberos:~/Library/Preferences/edu.mit.Kerberos"
+#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)
#else
-#define DEFAULT_PROFILE_PATH "/etc/krb5.conf:@SYSCONFDIR/krb5.conf"
+#define DEFAULT_SECURE_PROFILE_PATH "/etc/krb5.conf:@SYSCONFDIR/krb5.conf"
+#define DEFAULT_PROFILE_PATH DEFAULT_SECURE_PROFILE_PATH
#endif
#define DEFAULT_KEYTAB_NAME "FILE:/etc/krb5.keytab"
#define DEFAULT_LNAME_FILENAME "@PREFIX/lib/krb5.aname"