Searched refs:ktext (Results 1 - 8 of 8) sorted by relevance

/macosx-10.9.5/MITKerberosShim-62.1/test/
H A Dtest-krb.c45 struct ktext { struct
55 int krb_mk_req(struct ktext, char*, char*, char*, UInt32);
67 struct ktext ss;
/macosx-10.9.5/Heimdal-323.92.1/lib/krb5/
H A Dkrb5-v4compat.h75 struct ktext { struct
88 struct ktext ticket_st; /* The ticket itself */
/macosx-10.9.5/passwordserver_sasl-170/cyrus_sasl/mac/kerberos_includes/
H A Dkrb.h144 struct ktext { struct
150 typedef struct ktext *KTEXT;
151 typedef struct ktext KTEXT_ST;
H A Dold_krb.h105 struct ktext { struct
112 typedef struct ktext *KTEXT;
113 typedef struct ktext KTEXT_ST;
/macosx-10.9.5/passwordserver_sasl-170/cyrus_sasl/mac/krb4_sources/
H A Dkrb.h144 struct ktext { struct
150 typedef struct ktext *KTEXT;
151 typedef struct ktext KTEXT_ST;
/macosx-10.9.5/MITKerberosShim-62.1/
H A DKrb4DeprecatedAPIs.c100 struct ktext { struct
175 int decomp_ticket(struct ktext tkt, unsigned char *flags, char *pname, char *pinstance,
287 int krb_check_auth (struct ktext buf, UInt32 checksum, void *msg_data,
294 int krb_mk_auth(long options, struct ktext ticket,
296 UInt32 checksum, char *version, struct ktext buf)
315 int krb_mk_req(struct ktext authent,
322 int krb_mk_req_creds(struct ktext authent, void *creds,
362 int krb_rd_req(struct ktext authent,
369 int krb_rd_req_int(struct ktext authent, char *service, char *instance,
389 int krb_recvauth(long options, int fd, struct ktext ticke
[all...]
/macosx-10.9.5/passwordserver_sasl-170/cyrus_sasl/mac/CommonKClient/mac_kclient/
H A DKClient.h135 struct ktext { struct
141 typedef struct ktext *KTEXT;
142 typedef struct ktext KTEXT_ST;
/macosx-10.9.5/passwordserver_sasl-170/cyrus_sasl/mac/CommonKClient/mac_kclient3/Headers/Kerberos4/
H A Dkrb.h240 /* * krb-sed.h * * Copyright 1987, 1988 by the Massachusetts Institute of Technology. * * For copying and distribution information, please see the file * <mit-copyright.h>. * * External defintions for the Kerberos library. Internal definitions * (visible to Kerberos library source files) are in kerberos.h. */ /* Only one time, please */ #ifndef KRB_H #define KRB_H /* Kerberos 4 Error Codes: */ #define KSUCCESS 0 #define KFAILURE 255 #define KRB_NEVERDATE (0xFFFFFFFFUL) /* 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 */ /* Values returned by get_credentials */ #define GC_OK 0 /* Retrieve OK */ #define RET_OK 0 /* Retrieve OK */ #define GC_TKFIL 21 /* Can't read ticket file */ #define RET_TKFIL 21 /* Can't read ticket file */ #define GC_NOTKT 22 /* Can't find ticket or TGT */ #define RET_NOTKT 22 /* Can't find ticket or TGT */ /* Values returned by mk_ap_req */ #define MK_AP_OK 0 /* Success */ #define MK_AP_TGTEXP 26 /* TGT Expired */ /* 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 */ /* Values returned by get_pw_tkt */ #define GT_PW_OK 0 /* Got password changing tkt */ #define GT_PW_NULL 51 /* Current PW is null */ #define GT_PW_BADPW 52 /* Incorrect current password */ #define GT_PW_PROT 53 /* Protocol Error */ #define GT_PW_KDCERR 54 /* Error returned by KDC */ #define GT_PW_NULLTKT 55 /* Null tkt returned by KDC */ /* Values returned by send_to_kdc */ #define SKDC_OK 0 /* Response received */ #define SKDC_RETRY 56 /* Retry count exceeded */ #define SKDC_CANT 57 /* Can't send request */ /* * Values returned by get_in_tkt * (can also return SKDC_* and KDC errors) */ #define INTK_OK 0 /* Ticket obtained */ #define INTK_PW_NULL 51 /* Current PW is null */ #define INTK_W_NOTALL 61 /* Not ALL tickets returned */ #define INTK_BADPW 62 /* Incorrect password */ #define INTK_PROT 63 /* Protocol Error */ #define INTK_ERR 70 /* Other error */ /* Values returned by get_adtkt */ #define AD_OK 0 /* Ticket Obtained */ #define AD_NOTGT 71 /* Don't have tgt */ /* Error codes returned by ticket file utilities */ #define NO_TKT_FIL 76 /* No ticket file found */ #define TKT_FIL_ACC 77 /* Couldn't access tkt file */ #define TKT_FIL_LCK 78 /* Couldn't lock ticket file */ #define TKT_FIL_FMT 79 /* Bad ticket file format */ #define TKT_FIL_INI 80 /* tf_init not called first */ /* Error code returned by kparse_name */ #define KNAME_FMT 81 /* Bad Kerberos name format */ /* Error code returned by krb_mk_safe */ #define SAFE_PRIV_ERROR -1 /* syscall error */ #define KADM_RCSID (-1783126272) #define KADM_NO_REALM (-1783126271) #define KADM_NO_CRED (-1783126270) #define KADM_BAD_KEY (-1783126269) #define KADM_NO_ENCRYPT (-1783126268) #define KADM_NO_AUTH (-1783126267) #define KADM_WRONG_REALM (-1783126266) #define KADM_NO_ROOM (-1783126265) #define KADM_BAD_VER (-1783126264) #define KADM_BAD_CHK (-1783126263) #define KADM_NO_READ (-1783126262) #define KADM_NO_OPCODE (-1783126261) #define KADM_NO_HOST (-1783126260) #define KADM_UNK_HOST (-1783126259) #define KADM_NO_SERV (-1783126258) #define KADM_NO_SOCK (-1783126257) #define KADM_NO_CONN (-1783126256) #define KADM_NO_HERE (-1783126255) #define KADM_NO_MAST (-1783126254) #define KADM_NO_VERI (-1783126253) #define KADM_INUSE (-1783126252) #define KADM_UK_SERROR (-1783126251) #define KADM_UK_RERROR (-1783126250) #define KADM_UNAUTH (-1783126249) #define KADM_DATA (-1783126248) #define KADM_NOENTRY (-1783126247) #define KADM_NOMEM (-1783126246) #define KADM_NO_HOSTNAME (-1783126245) #define KADM_NO_BIND (-1783126244) #define KADM_LENGTH_ERROR (-1783126243) #define KADM_ILL_WILDCARD (-1783126242) #define KADM_DB_INUSE (-1783126241) #define KADM_INSECURE_PW (-1783126240) #define KADM_PW_MISMATCH (-1783126239) #define KADM_NOT_SERV_PRINC (-1783126238) #ifndef rez /* This stuff will confuse rez */ #if defined(macintosh) || (defined(__MACH__) && defined(__APPLE__)) #include <KerberosSupport/KerberosSupport.h> #endif #if TARGET_OS_MAC #include <KerberosDES/KerberosDES.h> #include <KerberosProfile/KerberosProfile.h> #else #include <des.h> #include <profile.h> #endif #if TARGET_API_MAC_OSX #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #else struct sockaddr_in; #endif #if TARGET_API_MAC_OSX && TARGET_API_MAC_CARBON #include <CoreServices/CoreServices.h> #elif TARGET_API_MAC_OS8 || TARGET_API_MAC_CARBON #include <Files.h> #else #error "Unknown OS" #endif #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ #if PRAGMA_IMPORT # pragma import on #endif #if PRAGMA_STRUCT_ALIGN #pragma options align=mac68k #elif PRAGMA_STRUCT_PACKPUSH #pragma pack(push, 2) #elif PRAGMA_STRUCT_PACK #pragma pack(2) #endif #if PRAGMA_ENUM_ALWAYSINT #pragma enumsalwaysint on #endif #if TARGET_CPU_68K #pragma fourbyteints on #endif #if !defined(PROTOTYPE) #if defined(__STDC__) || defined(__cplusplus) || defined(_MSDOS) || defined(_WIN32) #define PROTOTYPE(x) x #else #define PROTOTYPE(x) () #endif #endif #define INTERFACE /* No special declaration?? FIXME. */ #define FAR /* Sizes of types we need */ #ifndef KRB_INT32 #define KRB_INT32 SInt32 #endif #ifndef KRB_UINT32 #define KRB_UINT32 UInt32 #endif /* The maximum sizes for aname, realm, sname, and instance +1 */ #define ANAME_SZ 40 #define REALM_SZ 40 #define SNAME_SZ 40 #define INST_SZ 40 /* include space for '.' and '@' */ #define MAX_K_NAME_SZ (ANAME_SZ + INST_SZ + REALM_SZ + 2) #define KKEY_SZ 100 #define VERSION_SZ 1 #define MSG_TYPE_SZ 1 #define DATE_SZ 26 /* RTI date output */ #ifndef DEFAULT_TKT_LIFE /* allow compile-time override */ #define DEFAULT_TKT_LIFE 120 /* default lifetime 10 hrs */ #endif #define TICKET_GRANTING_TICKET "krbtgt" /* Definition of text structure used to pass text around */ #define MAX_KTXT_LEN 1250 struct ktext { int length; /* Length of the text */ unsigned char dat[MAX_KTXT_LEN]; /* The data itself */ unsigned long mbz; /* zero to catch runaway strings */ }; typedef struct ktext *KTEXT; typedef struct ktext KTEXT_ST; /* Definitions for send_to_kdc */ #define CLIENT_KRB_TIMEOUT 4 /* time between retries (…)

Completed in 277 milliseconds