From 44941c390f303e5d088d779070ca7d1e457c9c02 Mon Sep 17 00:00:00 2001 From: Keith Vetter Date: Wed, 29 Mar 1995 04:07:14 +0000 Subject: [PATCH] Moved the differing parts of osconf.win into osconf.h git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5304 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/krb5/stock/ChangeLog | 5 ++ src/include/krb5/stock/osconf.h | 5 ++ src/include/krb5/stock/osconf.win | 89 ------------------------------- 3 files changed, 10 insertions(+), 89 deletions(-) delete mode 100644 src/include/krb5/stock/osconf.win diff --git a/src/include/krb5/stock/ChangeLog b/src/include/krb5/stock/ChangeLog index aeef02f68..ad51c5eb6 100644 --- a/src/include/krb5/stock/ChangeLog +++ b/src/include/krb5/stock/ChangeLog @@ -1,3 +1,8 @@ +Tue Mar 28 19:49:56 1995 Keith Vetter (keithv@fusion.com) + + * osconf.h: moved the differing part of osconf.win inside it. + * osconf.win: deleted. + Tue Mar 7 15:09:44 1995 Keith Vetter (keithv@fusion.com) * osconf.win: new file. Windows version of osconf with valid diff --git a/src/include/krb5/stock/osconf.h b/src/include/krb5/stock/osconf.h index 35f8949b2..6a8e65518 100644 --- a/src/include/krb5/stock/osconf.h +++ b/src/include/krb5/stock/osconf.h @@ -40,6 +40,11 @@ #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) +#define DEFAULT_CONFIG_FILENAME "krb.conf" +#define DEFAULT_TRANS_FILENAME "krb.realms" +#define DEFAULT_LNAME_FILENAME "/aname" +#define DEFAULT_KEYTAB_NAME "FILE:/v5srvtab" #else #define DEFAULT_CONFIG_FILENAME "@KRB5ROOT/krb.conf" #define DEFAULT_TRANS_FILENAME "@KRB5ROOT/krb.realms" diff --git a/src/include/krb5/stock/osconf.win b/src/include/krb5/stock/osconf.win deleted file mode 100644 index 906057a34..000000000 --- a/src/include/krb5/stock/osconf.win +++ /dev/null @@ -1,89 +0,0 @@ -/* - * include/krb5/stock/osconf.h - * - * Copyright 1990,1991 by the Massachusetts Institute of Technology. - * All Rights Reserved. - * - * Export of this software from the United States of America may - * require a specific license from the United States Government. - * It is the responsibility of any person or organization contemplating - * export to obtain such a license before exporting. - * - * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and - * distribute this software and its documentation for any purpose and - * without fee is hereby granted, provided that the above copyright - * notice appear in all copies and that both that copyright notice and - * this permission notice appear in supporting documentation, and that - * the name of M.I.T. not be used in advertising or publicity pertaining - * to distribution of the software without specific, written prior - * permission. M.I.T. makes no representations about the suitability of - * this software for any purpose. It is provided "as is" without express - * or implied warranty. - * - * - * Site- and OS- dependant configuration. - */ - -#ifndef KRB5_OSCONF__ -#define KRB5_OSCONF__ - -#ifndef KRB5_AUTOCONF__ -#define KRB5_AUTOCONF__ -#include "autoconf.h" -#endif - -#define USE_DBM_LNAME /* Use a DBM database for the aname/lname - conversion */ - -#ifdef KRB5_ATHENA_COMPAT -#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" -#else -#define DEFAULT_CONFIG_FILENAME "/krb.conf" -#define DEFAULT_TRANS_FILENAME "/krb.realms" -#define DEFAULT_LNAME_FILENAME "/aname" -#define DEFAULT_KEYTAB_NAME "FILE:/v5srvtab" -#endif - -#define DEFAULT_KDB_FILE "@KDB5DIR/principal" -#define DEFAULT_ADMIN_ACL "@KDB5DIR/admin_acl_file" - -#define DEFAULT_KDC_ETYPE ETYPE_DES_CBC_CRC -#define DEFAULT_KDC_KEYTYPE KEYTYPE_DES -#define KDCRCACHE "dfl:krb5kdc_rcache" - -#define KDC_PORTNAME "kerberos" /* for /etc/services or equiv. */ -#define KDC_SECONDARY_PORTNAME "kerberos-sec" /* For backwards */ - /* compatibility with */ - /* port 750 clients */ - -#define KRB5_DEFAULT_PORT 88 -#define KRB5_DEFAULT_SEC_PORT 750 - -#define MAX_DGRAM_SIZE 4096 -#define MAX_SKDC_TIMEOUT 30 -#define SKDC_TIMEOUT_SHIFT 2 /* left shift of timeout for backoff */ -#define SKDC_TIMEOUT_1 1 /* seconds for first timeout */ - -#define RCTMPDIR "/usr/tmp" /* 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_ENV_CCNAME "KRB5CCNAME" - -/* - * krb4 kadmin stuff follows - */ - -/* the default syslog file */ -#define KADM_SYSLOG "@KDB5DIR/admin_server.syslog" - -/* where to find the bad password table */ -#define PW_CHECK_FILE "@KDB5DIR/bad_passwd" - -#define DEFAULT_ACL_DIR "@KDB5DIR" -#endif /* KRB5_OSCONF__ */ -- 2.26.2