Change the official Kerberos portname to be kerberos5, with the backup
authorTheodore Tso <tytso@mit.edu>
Fri, 10 Jun 1994 18:54:46 +0000 (18:54 +0000)
committerTheodore Tso <tytso@mit.edu>
Fri, 10 Jun 1994 18:54:46 +0000 (18:54 +0000)
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

index 0c00a68c8efaa72259282d84b1041999789ac06c..7e46ff2c37db71f4b7f21434e08446cf059f4079 100644 (file)
 #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
  */