to look in Mac OS X Preferences file locations.
[pullup from 1-2-2-branch]
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14600
dc483132-0cff-0310-8789-
dd5450dbe970
+2002-07-03 Alexandra Ellwood <lxs@mit.edu>
+
+ * osconf.h (DEFAULT_PROFILE_PATH): Conditionalized for Mac OS X
+ to look in Mac OS X Preferences file locations.
+ [pullup from 1-2-2-branch]
+
2001-10-05 Ken Raeburn <raeburn@mit.edu>
* osconf.h: Drop _MSDOS support.
#define DEFAULT_LNAME_FILENAME "/aname"
#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"
+#else
#define DEFAULT_PROFILE_PATH "/etc/krb5.conf:@SYSCONFDIR/krb5.conf"
+#endif
#define DEFAULT_KEYTAB_NAME "FILE:/etc/krb5.keytab"
#define DEFAULT_LNAME_FILENAME "@PREFIX/lib/krb5.aname"
#endif /* _WINDOWS */