From dc3abbe69b0e1b9dd2f0552188ce0d14b3a18977 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Fri, 10 Jun 1994 18:54:46 +0000 Subject: [PATCH] Change the official Kerberos portname to be kerberos5, with the backup being kerberos4. Use backup numeric ports if the proper ones aren't listed in /etc/services. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3711 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/krb5/stock/osconf.h | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/include/krb5/stock/osconf.h b/src/include/krb5/stock/osconf.h index 0c00a68c8..7e46ff2c3 100644 --- a/src/include/krb5/stock/osconf.h +++ b/src/include/krb5/stock/osconf.h @@ -67,10 +67,13 @@ #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 KDC_PORTNAME "kerberos5" /* for /etc/services or equiv. */ +#define KDC_SECONDARY_PORTNAME "kerberos4" /* 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 @@ -83,6 +86,8 @@ #define KRB5_PATH_LOGIN "@KRB5ROOT/sbin/login.krb5" #define KRB5_PATH_RLOGIN "@KRB5ROOT/bin/rlogin" +#define KRB5_ENV_CCNAME "KRB5CCNAME" + /* * krb4 kadmin stuff follows */ -- 2.26.2