osconf.h: Use INSTALL and INSTALL_PREFIX instead of KRB5ROOT. How the
authorTheodore Tso <tytso@mit.edu>
Wed, 7 Jun 1995 20:26:59 +0000 (20:26 +0000)
committerTheodore Tso <tytso@mit.edu>
Wed, 7 Jun 1995 20:26:59 +0000 (20:26 +0000)
filenames are determined have been completely revamped.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5972 dc483132-0cff-0310-8789-dd5450dbe970

src/include/krb5/stock/ChangeLog
src/include/krb5/stock/osconf.h

index aae22dbbc23f374463c75a7322fdf90986d759f7..bcfc6666735398a8756f82a31465039b142e0d4e 100644 (file)
@@ -1,3 +1,9 @@
+Wed Jun  7 16:13:24 1995    <tytso@rsx-11.mit.edu>
+
+       * osconf.h: Use INSTALL and INSTALL_PREFIX instead of KRB5ROOT.
+               How the filenames are determined have been completely
+               revamped.
+
 Sun May 21 15:33:36 1995  Ezra Peisach  <epeisach@kangaroo.mit.edu>
 
        * osconf.h: Setup the RCTMPDIR to be modified by configure. 
index 9c24c65594659954d134694b5392b543be880987..8a8742c251ca462cf06e68b88571f5c36942bd9a 100644 (file)
 #define        USE_DBM_LNAME           /* Use a DBM database for the aname/lname
                                   conversion */
 
-#ifdef KRB5_ATHENA_COMPAT
-/*
- * Let's store krb5.conf is the same place whether or not we're
- * compiling under with Project Athena options turned on.  Things are
- * much more sane that way!!!!  --- Ted
- */
-#define DEFAULT_PROFILE_FILENAME "/etc/krb5.conf"
-#define        DEFAULT_CONFIG_FILENAME "/etc/athena/krb.conf.v5"
-#define        DEFAULT_TRANS_FILENAME  "/etc/athena/krb.realms"
-#define        DEFAULT_LNAME_FILENAME  "/etc/athena/aname"
-#define        DEFAULT_KEYTAB_NAME     "FILE:/etc/athena/v5srvtab"
-#elif defined(_WINDOWS)
+#ifdef _WINDOWS
 #define DEFAULT_PROFILE_FILENAME "krb5.ini"
-#define        DEFAULT_CONFIG_FILENAME "krb.conf"
-#define        DEFAULT_TRANS_FILENAME  "krb.realms"
 #define        DEFAULT_LNAME_FILENAME  "/aname"
 #define        DEFAULT_KEYTAB_NAME     "FILE:/v5srvtab"
-#else
+#else /* !_WINDOWS */
 #define DEFAULT_PROFILE_FILENAME "/etc/krb5.conf"
-#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:@KRB5SRVTABDIR/v5srvtab"
-#endif
+#define        DEFAULT_KEYTAB_NAME     "FILE:/etc/v5srvtab"
+#define        DEFAULT_LNAME_FILENAME  "@PREFIX/lib/krb5.aname"
+#endif /* _WINDOWS  */
 
-#define DEFAULT_KDB_FILE        "@KDB5DIR/principal"
-#define DEFAULT_ADMIN_ACL      "@KDB5DIR/admin_acl_file"
+#define DEFAULT_KDB_FILE        "@PREFIX/lib/krb5kdc/principal"
+#define KRB5_DEFAULT_ADMIN_ACL "@PREFIX/lib/krb5kdc/krb5_adm.acl"
 
 #define        DEFAULT_KDC_ETYPE       ETYPE_DES_CBC_CRC
 #define        DEFAULT_KDC_KEYTYPE     KEYTYPE_DES
@@ -83,8 +68,8 @@
 #define RCTMPDIR       "@KRB5RCTMPDIR" /* directory to store replay caches */
 
 #define KRB5_PATH_TTY  "/dev/tty"
-#define KRB5_PATH_LOGIN        "@KRB5ROOT/sbin/login.krb5"
-#define KRB5_PATH_RLOGIN "@KRB5ROOT/bin/rlogin"
+#define KRB5_PATH_LOGIN        "@EXEC_PREFIX/sbin/login.krb5"
+#define KRB5_PATH_RLOGIN "@EXEC_PREFIX/bin/rlogin"
 
 #define KRB5_ENV_CCNAME        "KRB5CCNAME"
 
  */
 
 /* the default syslog file */
-#define KADM_SYSLOG  "@KDB5DIR/admin_server.syslog"
+#define KADM_SYSLOG  "@PREFIX/lib/krb5kdc/admin_server.syslog"
 
 /* where to find the bad password table */
-#define PW_CHECK_FILE "@KDB5DIR/bad_passwd"
+#define PW_CHECK_FILE "@PREFIX/lib/krb5kdc/bad_passwd"
 
-#define DEFAULT_ACL_DIR        "@KDB5DIR"
+#define DEFAULT_ACL_DIR        "@PREFIX/lib/krb5kdc"
 #endif /* KRB5_OSCONF__ */