Updated protocol constants in line with latest official assigned numbers
authorTheodore Tso <tytso@mit.edu>
Fri, 15 Jul 1994 20:58:16 +0000 (20:58 +0000)
committerTheodore Tso <tytso@mit.edu>
Fri, 15 Jul 1994 20:58:16 +0000 (20:58 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3981 dc483132-0cff-0310-8789-dd5450dbe970

src/include/krb5/encryption.h
src/include/krb5/errors.h
src/include/krb5/proto.h

index 4a1b1b4d8c2ab66045bed35a6aba47f82e16447d..5bac63797dee2a20d81cd8954c8fa05245a23b18 100644 (file)
@@ -127,8 +127,8 @@ typedef struct _krb5_checksum_entry {
 #define        CKSUMTYPE_RSA_MD4       0x0002
 #define        CKSUMTYPE_RSA_MD4_DES   0x0003
 #define        CKSUMTYPE_DESCBC        0x0004
-/* des-mac */
 /* des-mac-k */
+/* rsa-md4-des-k */
 #define        CKSUMTYPE_RSA_MD5       0x0007
 #define        CKSUMTYPE_RSA_MD5_DES   0x0008
 
index 9ea34e77b4f4bccc27736abc5813cea08b2541fd..04c531b22669f44ba833c2252f32cf079d21cd73 100644 (file)
 #define KDC_ERR_CLIENT_NOTYET          21 /* C not yet valid */
 #define KDC_ERR_SERVICE_NOTYET         22 /* S not yet valid */
 #define KDC_ERR_KEY_EXP                        23 /* Password has expired */
-#define KDC_PREAUTH_FAILED             24 /* Preauthentication failed */
-#define KDC_SERVER_NOMATCH             25 /* Requested server and */
+#define KDC_ERR_PREAUTH_FAILED         24 /* Preauthentication failed */
+#define KDC_ERR_PREAUTH_REQUIRED       25 /* Additional preauthentication */
+                                          /* required */
+#define KDC_ERR_SERVER_NOMATCH         26 /* Requested server and */
                                           /* ticket don't match*/
 /* Application errors */
 #define        KRB_AP_ERR_BAD_INTEGRITY 31     /* Decrypt integrity check failed */
index 30f96cd4ea6134d83fe5e4cad962926d57096e83..2a55660a8001a97cd422ca4bb6114d3bafd2349b 100644 (file)
@@ -71,7 +71,8 @@
 #define KRB5_PADATA_ENC_TIMESTAMP       5  /* timestamp encrypted in key */
 #define KRB5_PADATA_ENC_SECURID         6  /* SecurId passcode */
 #define KRB5_PADATA_SESAME             7  /* Sesame project */
-
+#define KRB5_PADATA_OSF_DCE            8  /* OSF DCE */
+    
 /* Reserved for SPX pre-authentication. */
 #define KRB5_PADATA_DASS               16
 
@@ -83,5 +84,6 @@
 
 /* authorization data types */
 #define        KRB5_AUTHDATA_OSF_DCE   64
+#define KRB5_AUTHDATA_SESAME   65
 
 #endif /* KRB5_PROTO__ */