From: John Carr Date: Fri, 21 Aug 1992 02:47:38 +0000 (+0000) Subject: Allow imake config files to change kerberos config file locations X-Git-Tag: krb5-1.0-beta2~123 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=12136ee5a632f7409102da8694a0b88827fd83a0;p=krb5.git Allow imake config files to change kerberos config file locations git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2339 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/include/krb5/stock/osconf.h b/src/include/krb5/stock/osconf.h index 852471622..20c7c1923 100644 --- a/src/include/krb5/stock/osconf.h +++ b/src/include/krb5/stock/osconf.h @@ -47,13 +47,18 @@ #ifdef HasInetTrue #define KRB5_USE_INET /* Support IP address family */ #endif + +#ifdef HasUnistdH +#define HAS_UNISTD_H +#endif + #define USE_DBM_LNAME /* Use a DBM database for the aname/lname conversion */ -#define DEFAULT_CONFIG_FILENAME "/krb5/krb.conf" -#define DEFAULT_TRANS_FILENAME "/krb5/krb.realms" -#define DEFAULT_LNAME_FILENAME "/krb5/aname" -#define DEFAULT_KEYTAB_NAME "FILE:/krb5/v5srvtab" +#define DEFAULT_CONFIG_FILENAME "@KRB5ROOT/krb.conf" +#define DEFAULT_TRANS_FILENAME "@KRB5ROOT/krb.realms" +#define DEFAULT_LNAME_FILENAME "@KRB5ROOT/aname" +#define DEFAULT_KEYTAB_NAME "FILE:@KRB5ROOT/v5srvtab" #define DEFAULT_KDC_ETYPE ETYPE_DES_CBC_CRC #define DEFAULT_KDC_KEYTYPE KEYTYPE_DES