Drop duplicate error codes.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21575 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -59,56 +59,10 @@
|
|||||||
#define AUTH_MSG_KDC_RENEW (10<<1)
|
#define AUTH_MSG_KDC_RENEW (10<<1)
|
||||||
#define AUTH_MSG_DIE (63<<1)
|
#define AUTH_MSG_DIE (63<<1)
|
||||||
|
|
||||||
/* values for kerb error codes */
|
|
||||||
|
|
||||||
#define KERB_ERR_OK 0
|
|
||||||
#define KERB_ERR_NAME_EXP 1
|
|
||||||
#define KERB_ERR_SERVICE_EXP 2
|
|
||||||
#define KERB_ERR_AUTH_EXP 3
|
|
||||||
#define KERB_ERR_PKT_VER 4
|
|
||||||
#define KERB_ERR_NAME_MAST_KEY_VER 5
|
|
||||||
#define KERB_ERR_SERV_MAST_KEY_VER 6
|
|
||||||
#define KERB_ERR_BYTE_ORDER 7
|
|
||||||
#define KERB_ERR_PRINCIPAL_UNKNOWN 8
|
|
||||||
#define KERB_ERR_PRINCIPAL_NOT_UNIQUE 9
|
|
||||||
#define KERB_ERR_NULL_KEY 10
|
|
||||||
#define KERB_ERR_TIMEOUT 11
|
|
||||||
|
|
||||||
|
|
||||||
/* Error codes returned from the KDC */
|
|
||||||
#define KDC_OK 0 /* Request OK */
|
|
||||||
#define KDC_NAME_EXP 1 /* Principal expired */
|
|
||||||
#define KDC_SERVICE_EXP 2 /* Service expired */
|
|
||||||
#define KDC_AUTH_EXP 3 /* Auth expired */
|
|
||||||
#define KDC_PKT_VER 4 /* Protocol version unknown */
|
|
||||||
#define KDC_P_MKEY_VER 5 /* Wrong master key version */
|
|
||||||
#define KDC_S_MKEY_VER 6 /* Wrong master key version */
|
|
||||||
#define KDC_BYTE_ORDER 7 /* Byte order unknown */
|
|
||||||
#define KDC_PR_UNKNOWN 8 /* Principal unknown */
|
|
||||||
#define KDC_PR_N_UNIQUE 9 /* Principal not unique */
|
|
||||||
#define KDC_NULL_KEY 10 /* Principal has null key */
|
|
||||||
#define KDC_GEN_ERR 20 /* Generic error from KDC */
|
|
||||||
|
|
||||||
/* General definitions */
|
/* General definitions */
|
||||||
#define KSUCCESS 0
|
#define KSUCCESS 0
|
||||||
#define KFAILURE 255
|
#define KFAILURE 255
|
||||||
|
|
||||||
/* Values returned by rd_ap_req */
|
|
||||||
#define RD_AP_OK 0 /* Request authentic */
|
|
||||||
#define RD_AP_UNDEC 31 /* Can't decode authenticator */
|
|
||||||
#define RD_AP_EXP 32 /* Ticket expired */
|
|
||||||
#define RD_AP_NYV 33 /* Ticket not yet valid */
|
|
||||||
#define RD_AP_REPEAT 34 /* Repeated request */
|
|
||||||
#define RD_AP_NOT_US 35 /* The ticket isn't for us */
|
|
||||||
#define RD_AP_INCON 36 /* Request is inconsistent */
|
|
||||||
#define RD_AP_TIME 37 /* delta_t too big */
|
|
||||||
#define RD_AP_BADD 38 /* Incorrect net address */
|
|
||||||
#define RD_AP_VERSION 39 /* protocol version mismatch */
|
|
||||||
#define RD_AP_MSG_TYPE 40 /* invalid msg type */
|
|
||||||
#define RD_AP_MODIFIED 41 /* message stream modified */
|
|
||||||
#define RD_AP_ORDER 42 /* message out of order */
|
|
||||||
#define RD_AP_UNAUTHOR 43 /* unauthorized request */
|
|
||||||
|
|
||||||
/* */
|
/* */
|
||||||
|
|
||||||
#define MAX_KTXT_LEN 1250
|
#define MAX_KTXT_LEN 1250
|
||||||
|
Reference in New Issue
Block a user