Add the kv5m error table
authorTheodore Tso <tytso@mit.edu>
Thu, 3 Nov 1994 21:43:58 +0000 (21:43 +0000)
committerTheodore Tso <tytso@mit.edu>
Thu, 3 Nov 1994 21:43:58 +0000 (21:43 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4623 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/error_tables/ChangeLog
src/lib/krb5/error_tables/Makefile.in
src/lib/krb5/error_tables/configure.in
src/lib/krb5/error_tables/init_ets.c
src/lib/krb5/error_tables/kv5m_err.et [new file with mode: 0644]

index 36f0ae7f1bb154c08bfc2e15845096cba5dcf7ce..4b4d554608d14039cc8394f0b53339afb979a5f1 100644 (file)
@@ -1,3 +1,9 @@
+Thu Nov  3 16:39:49 1994  Theodore Y. Ts'o  (tytso@dcl)
+
+       * configure.in:
+       * Makefile.in:
+       * kv5m_err.et: Add the kv5m error table.
+
 Fri Oct 14 23:07:48 1994  Theodore Y. Ts'o  (tytso@dcl)
 
        * init_ets.c (krb5_init_ets): Fix typo in spelling of KRB5_USE_ISODE.
index d3904349e3c0121ec789bf2b8d47dfead090ff17..bbe17f18ef9c6da329a2c525b98c5729e1bbbca0 100644 (file)
@@ -8,9 +8,9 @@ LDFLAGS = -g
 
 EHDRDIR=$(BUILDTOP)/include/krb5
 
-HDRS=$(ASN1_SRCS) kdb5_err.h krb5_err.h adm_err.h
-OBJS=$(ASN1_OBJS) kdb5_err.o krb5_err.o adm_err.o init_ets.o
-ETSRCS=$(ASN1_SRCS) kdb5_err.c krb5_err.c adm_err.c
+HDRS=$(ASN1_SRCS) kdb5_err.h krb5_err.h kv5m_err.h adm_err.h
+OBJS=$(ASN1_OBJS) kdb5_err.o krb5_err.o kv5m_err.o adm_err.o init_ets.o
+ETSRCS=$(ASN1_SRCS) kdb5_err.c krb5_err.c kv5m_err.o adm_err.c
 SRCS=$(ETSRCS) $(srcdir)/init_ets.c
 
 all:: ${HDRS} includes ${OBJS}
index 42512e334c9a94a519b62c0e049cabc9d7628a19..89e9a19d269949d9325c665dbe4b8849eae0e470 100644 (file)
@@ -22,6 +22,7 @@ AC_SUBST(BOGUS)
 SubdirLibraryRule([${OBJS}])
 CopyHeader(isode_err.h,[$(EHDRDIR)])
 CopyHeader(krb5_err.h,[$(EHDRDIR)])
+CopyHeader(kv5m_err.h,[$(EHDRDIR)])
 CopyHeader(kdb5_err.h,[$(EHDRDIR)])
 CopyHeader(adm_err.h,[$(EHDRDIR)])
 CopyHeader(asn1_err.h,[$(EHDRDIR)])
index f2c0ae5d7835360a356cab3cb40811d5c79491f3..88d18dffb90f5ec65a020e384c91c8dc0283d9f5 100644 (file)
@@ -37,6 +37,7 @@ krb5_init_ets PROTOTYPE((void))
     
     initialized++;
     initialize_krb5_error_table();
+    initialize_kv5m_error_table();
     initialize_kdb5_error_table();
 #ifdef KRB5_USE_ISODE
     initialize_isod_error_table();
diff --git a/src/lib/krb5/error_tables/kv5m_err.et b/src/lib/krb5/error_tables/kv5m_err.et
new file mode 100644 (file)
index 0000000..50d6847
--- /dev/null
@@ -0,0 +1,63 @@
+#
+# src/lib/krb5/kv5m_err.et
+#
+# Copyright 1994 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.
+# 
+#
+# The Kerberos v5 magic numbers errorcode table
+
+error_table kv5m
+
+error_code KV5M_NONE           "Kerberos V5 magic number table"
+error_code KV5M_PRINCIPAL      "Bad magic number for krb5_principal structure"
+error_code KV5M_DATA           "Bad magic number for krb5_data structure"
+error_code KV5M_KEYBLOCK       "Bad magic number for krb5_keyblock structure"
+error_code KV5M_CHECKSUM       "Bad magic number for krb5_checksum structure"
+error_code KV5M_ENCRYPT_BLOCK  "Bad magic number for krb5_encrypt_block structure"
+error_code KV5M_ENC_DATA       "Bad magic number for krb5_enc_data structure"
+error_code KV5M_CRYPTOSYSTEM_ENTRY     "Bad magic number for krb5_cryptosystem_entry structure"
+error_code KV5M_CS_TABLE_ENTRY "Bad magic number for krb5_cs_table_entry structure"
+error_code KV5M_CHECKSUM_ENTRY "Bad magic number for krb5_checksum_entry structure"
+
+error_code KV5M_AUTH_DATA      "Bad magic number for krb5_authdata structure"
+error_code KV5M_TRANSITED      "Bad magic number for krb5_transited structure"
+error_code KV5M_ENC_TKT_PART   "Bad magic number for krb5_enc_tkt_part structure"
+error_code KV5M_TICKET         "Bad magic number for krb5_ticket structure"
+error_code KV5M_AUTHENTICATOR  "Bad magic number for krb5_authenticator structure"
+error_code KV5M_TKT_AUTHENT    "Bad magic number for krb5_tkt_authent structure"
+error_code KV5M_CREDS          "Bad magic number for krb5_creds structure"
+error_code KV5M_LAST_REQ_ENTRY "Bad magic number for krb5_last_req_entry structure"
+error_code KV5M_PA_DATA                "Bad magic number for krb5_pa_data structure"
+error_code KV5M_KDC_REQ                "Bad magic number for krb5_kdc_req structure"
+error_code KV5M_ENC_KDC_REP_PART "Bad magic number for krb5_enc_kdc_rep_part structure"
+error_code KV5M_KDC_REP                "Bad magic number for krb5_kdc_rep structure"
+error_code KV5M_ERROR          "Bad magic number for krb5_error structure"
+error_code KV5M_AP_REQ         "Bad magic number for krb5_ap_req structure"
+error_code KV5M_AP_REP         "Bad magic number for krb5_ap_rep structure"
+error_code KV5M_AP_REP_ENC_PART        "Bad magic number for krb5_ap_rep_enc_part structure"
+error_code KV5M_RESPONSE       "Bad magic number for krb5_response structure"
+error_code KV5M_SAFE           "Bad magic number for krb5_safe structure"
+error_code KV5M_PRIV           "Bad magic number for krb5_priv structure"
+error_code KV5M_PRIV_ENC_PART  "Bad magic number for krb5_priv_enc_part structure"
+error_code KV5M_CRED           "Bad magic number for krb5_cred structure"
+error_code KV5M_CRED_INFO      "Bad magic number for krb5_cred_info structure"
+error_code KV5M_CRED_ENC_PART  "Bad magic number for krb5_cred_enc_part structure"
+error_code KV5M_PWD_DATA       "Bad magic number for krb5_pwd_data structure"
+end