00001 #ifndef _system_kerberos_h 00002 #define _system_kerberos_h 00003 00004 /* 00005 Unix SMB/CIFS implementation. 00006 00007 kerberos system include wrappers 00008 00009 Copyright (C) Andrew Tridgell 2004 00010 00011 This program is free software; you can redistribute it and/or modify 00012 it under the terms of the GNU General Public License as published by 00013 the Free Software Foundation; either version 2 of the License, or 00014 (at your option) any later version. 00015 00016 This program is distributed in the hope that it will be useful, 00017 but WITHOUT ANY WARRANTY; without even the implied warranty of 00018 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00019 GNU General Public License for more details. 00020 00021 You should have received a copy of the GNU General Public License 00022 along with this program; if not, write to the Free Software 00023 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00024 */ 00025 00026 #ifdef HAVE_KRB5 00027 /* Whether the krb5_address struct has a addrtype property */ 00028 /* #undef HAVE_ADDRTYPE_IN_KRB5_ADDRESS */ 00029 /* Whether the krb5_address struct has a addr_type property */ 00030 #define HAVE_ADDR_TYPE_IN_KRB5_ADDRESS 1 00031 /* Define to 1 if you have the `gsskrb5_extract_authz_data_from_sec_context' */ 00032 #define HAVE_GSSKRB5_EXTRACT_AUTHZ_DATA_FROM_SEC_CONTEXT 1 00033 /* Define to 1 if you have the `gsskrb5_get_initiator_subkey' function. */ 00034 #define HAVE_GSSKRB5_GET_INITIATOR_SUBKEY 1 00035 /* Define to 1 if you have the `gsskrb5_register_acceptor_identity' function. */ 00036 #define HAVE_GSSKRB5_REGISTER_ACCEPTOR_IDENTITY 1 00037 /* Define to 1 if you have the `gss_krb5_ccache_name' function. */ 00038 #define HAVE_GSS_KRB5_CCACHE_NAME 1 00039 /* Define to 1 if you have the `krb5_addlog_func' function. */ 00040 #define HAVE_KRB5_ADDLOG_FUNC 1 00041 /* Define to 1 if you have the `krb5_auth_con_setkey' function. */ 00042 #define HAVE_KRB5_AUTH_CON_SETKEY 1 00043 /* Define to 1 if you have the `krb5_auth_con_setuseruserkey' function. */ 00044 /* #undef HAVE_KRB5_AUTH_CON_SETUSERUSERKEY */ 00045 /* Define to 1 if you have the `krb5_c_enctype_compare' function. */ 00046 #define HAVE_KRB5_C_ENCTYPE_COMPARE 1 00047 /* Define to 1 if you have the `krb5_c_verify_checksum' function. */ 00048 #define HAVE_KRB5_C_VERIFY_CHECKSUM 1 00049 /* Whether the type krb5_encrypt_block exists */ 00050 /* #undef HAVE_KRB5_ENCRYPT_BLOCK */ 00051 /* Define to 1 if you have the `krb5_encrypt_data' function. */ 00052 /* #undef HAVE_KRB5_ENCRYPT_DATA */ 00053 /* Define to 1 if you have the `krb5_enctypes_compatible_keys' function. */ 00054 #define HAVE_KRB5_ENCTYPES_COMPATIBLE_KEYS 1 00055 /* Define to 1 if you have the `krb5_free_data_contents' function. */ 00056 #define HAVE_KRB5_FREE_DATA_CONTENTS 1 00057 /* Define to 1 if you have the `krb5_free_error_string' function. */ 00058 #define HAVE_KRB5_FREE_ERROR_STRING 1 00059 /* Define to 1 if you have the `krb5_free_keytab_entry_contents' function. */ 00060 /* #undef HAVE_KRB5_FREE_KEYTAB_ENTRY_CONTENTS */ 00061 /* Define to 1 if you have the `krb5_free_ktypes' function. */ 00062 /* #undef HAVE_KRB5_FREE_KTYPES */ 00063 /* Define to 1 if you have the `krb5_free_unparsed_name' function. */ 00064 /* #undef HAVE_KRB5_FREE_UNPARSED_NAME */ 00065 /* Define to 1 if you have the `krb5_get_default_in_tkt_etypes' function. */ 00066 #define HAVE_KRB5_GET_DEFAULT_IN_TKT_ETYPES 1 00067 /* Define to 1 if you have the `krb5_get_error_string' function. */ 00068 #define HAVE_KRB5_GET_ERROR_STRING 1 00069 /* Define to 1 if you have the `krb5_get_permitted_enctypes' function. */ 00070 /* #undef HAVE_KRB5_GET_PERMITTED_ENCTYPES */ 00071 /* Define to 1 if you have the `krb5_get_pw_salt' function. */ 00072 #define HAVE_KRB5_GET_PW_SALT 1 00073 /* Define to 1 if you have the <krb5.h> header file. */ 00074 #define HAVE_KRB5_H 1 00075 /* Define to 1 if you have the `krb5_initlog' function. */ 00076 #define HAVE_KRB5_INITLOG 1 00077 /* Define to 1 if you have the `krb5_kdc_default_config' function. */ 00078 #define HAVE_KRB5_KDC_DEFAULT_CONFIG 1 00079 /* Whether the krb5_creds struct has a keyblock property */ 00080 /* #undef HAVE_KRB5_KEYBLOCK_IN_CREDS */ 00081 /* Whether the krb5_keyblock struct has a keyvalue property */ 00082 #define HAVE_KRB5_KEYBLOCK_KEYVALUE 1 00083 /* Whether krb5_keytab_entry has key member */ 00084 /* #undef HAVE_KRB5_KEYTAB_ENTRY_KEY */ 00085 /* Whether krb5_keytab_entry has keyblock member */ 00086 #define HAVE_KRB5_KEYTAB_ENTRY_KEYBLOCK 1 00087 /* Define to 1 if you have the `krb5_krbhst_get_addrinfo' function. */ 00088 #define HAVE_KRB5_KRBHST_GET_ADDRINFO 1 00089 /* Define to 1 if you have the `krb5_kt_compare' function. */ 00090 #define HAVE_KRB5_KT_COMPARE 1 00091 /* Define to 1 if you have the `krb5_kt_free_entry' function. */ 00092 #define HAVE_KRB5_KT_FREE_ENTRY 1 00093 /* Whether the type krb5_log_facility exists */ 00094 #define HAVE_KRB5_LOG_FACILITY 1 00095 /* Define to 1 if you have the `krb5_mk_req_extended' function. */ 00096 #define HAVE_KRB5_MK_REQ_EXTENDED 1 00097 /* Define to 1 if you have the `krb5_principal2salt' function. */ 00098 /* #undef HAVE_KRB5_PRINCIPAL2SALT */ 00099 /* Define to 1 if you have the `krb5_principal_get_comp_string' function. */ 00100 #define HAVE_KRB5_PRINCIPAL_GET_COMP_STRING 1 00101 /* Whether krb5_princ_component is available */ 00102 /* #undef HAVE_KRB5_PRINC_COMPONENT */ 00103 /* Whether the krb5_creds struct has a session property */ 00104 #define HAVE_KRB5_SESSION_IN_CREDS 1 00105 /* Define to 1 if you have the `krb5_set_default_in_tkt_etypes' function. */ 00106 #define HAVE_KRB5_SET_DEFAULT_IN_TKT_ETYPES 1 00107 /* Define to 1 if you have the `krb5_set_default_tgs_ktypes' function. */ 00108 /* #undef HAVE_KRB5_SET_DEFAULT_TGS_KTYPES */ 00109 /* Define to 1 if you have the `krb5_set_real_time' function. */ 00110 #define HAVE_KRB5_SET_REAL_TIME 1 00111 /* Define to 1 if you have the `krb5_set_warn_dest' function. */ 00112 #define HAVE_KRB5_SET_WARN_DEST 1 00113 /* Define to 1 if you have the `krb5_string_to_key' function. */ 00114 #define HAVE_KRB5_STRING_TO_KEY 1 00115 /* Define to 1 if you have the `krb5_string_to_key_salt' function. */ 00116 #define HAVE_KRB5_STRING_TO_KEY_SALT 1 00117 /* Define to 1 if you have the `krb5_ticket_get_authorization_data_type' */ 00118 #define HAVE_KRB5_TICKET_GET_AUTHORIZATION_DATA_TYPE 1 00119 /* Whether the krb5_ticket struct has a enc_part2 property */ 00120 /* #undef HAVE_KRB5_TKT_ENC_PART2 */ 00121 /* Define to 1 if you have the `krb5_use_enctype' function. */ 00122 /* #undef HAVE_KRB5_USE_ENCTYPE */ 00123 /* Define to 1 if you have the `krb5_verify_checksum' function. */ 00124 #define HAVE_KRB5_VERIFY_CHECKSUM 1 00125 /* Whether krb5_princ_realm returns krb5_realm or krb5_data */ 00126 #define KRB5_PRINC_REALM_RETURNS_REALM 1 00127 00128 #include "heimdal/lib/krb5/krb5.h" 00129 #include "heimdal/lib/com_err/com_err.h" 00130 #endif 00131 00132 #endif