[GLUE] Rsync SAMBA_3_0 SVN r25598 in order to create the v3-0-test branch.
[Samba.git] / source / lib / replace / system / kerberos.h
blob1617b96aad1a8014767579277ed1a09403435094
1 #ifndef _system_kerberos_h
2 #define _system_kerberos_h
4 /*
5 Unix SMB/CIFS implementation.
7 kerberos system include wrappers
9 Copyright (C) Andrew Tridgell 2004
11 This program is free software; you can redistribute it and/or modify
12 it under the terms of the GNU General Public License as published by
13 the Free Software Foundation; either version 2 of the License, or
14 (at your option) any later version.
16 This program is distributed in the hope that it will be useful,
17 but WITHOUT ANY WARRANTY; without even the implied warranty of
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 GNU General Public License for more details.
21 You should have received a copy of the GNU General Public License
22 along with this program; if not, write to the Free Software
23 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
26 #ifdef HAVE_KRB5
27 /* Whether the krb5_address struct has a addrtype property */
28 /* #undef HAVE_ADDRTYPE_IN_KRB5_ADDRESS */
29 /* Whether the krb5_address struct has a addr_type property */
30 #define HAVE_ADDR_TYPE_IN_KRB5_ADDRESS 1
31 /* Define to 1 if you have the `gsskrb5_extract_authz_data_from_sec_context' */
32 #define HAVE_GSSKRB5_EXTRACT_AUTHZ_DATA_FROM_SEC_CONTEXT 1
33 /* Define to 1 if you have the `gsskrb5_get_initiator_subkey' function. */
34 #define HAVE_GSSKRB5_GET_INITIATOR_SUBKEY 1
35 /* Define to 1 if you have the `gsskrb5_register_acceptor_identity' function. */
36 #define HAVE_GSSKRB5_REGISTER_ACCEPTOR_IDENTITY 1
37 /* Define to 1 if you have the `gss_krb5_ccache_name' function. */
38 #define HAVE_GSS_KRB5_CCACHE_NAME 1
39 /* Define to 1 if you have the `krb5_addlog_func' function. */
40 #define HAVE_KRB5_ADDLOG_FUNC 1
41 /* Define to 1 if you have the `krb5_auth_con_setkey' function. */
42 #define HAVE_KRB5_AUTH_CON_SETKEY 1
43 /* Define to 1 if you have the `krb5_auth_con_setuseruserkey' function. */
44 /* #undef HAVE_KRB5_AUTH_CON_SETUSERUSERKEY */
45 /* Define to 1 if you have the `krb5_c_enctype_compare' function. */
46 #define HAVE_KRB5_C_ENCTYPE_COMPARE 1
47 /* Define to 1 if you have the `krb5_c_verify_checksum' function. */
48 #define HAVE_KRB5_C_VERIFY_CHECKSUM 1
49 /* Whether the type krb5_encrypt_block exists */
50 /* #undef HAVE_KRB5_ENCRYPT_BLOCK */
51 /* Define to 1 if you have the `krb5_encrypt_data' function. */
52 /* #undef HAVE_KRB5_ENCRYPT_DATA */
53 /* Define to 1 if you have the `krb5_enctypes_compatible_keys' function. */
54 #define HAVE_KRB5_ENCTYPES_COMPATIBLE_KEYS 1
55 /* Define to 1 if you have the `krb5_free_data_contents' function. */
56 #define HAVE_KRB5_FREE_DATA_CONTENTS 1
57 /* Define to 1 if you have the `krb5_free_error_string' function. */
58 #define HAVE_KRB5_FREE_ERROR_STRING 1
59 /* Define to 1 if you have the `krb5_free_keytab_entry_contents' function. */
60 /* #undef HAVE_KRB5_FREE_KEYTAB_ENTRY_CONTENTS */
61 /* Define to 1 if you have the `krb5_free_ktypes' function. */
62 /* #undef HAVE_KRB5_FREE_KTYPES */
63 /* Define to 1 if you have the `krb5_free_unparsed_name' function. */
64 /* #undef HAVE_KRB5_FREE_UNPARSED_NAME */
65 /* Define to 1 if you have the `krb5_get_default_in_tkt_etypes' function. */
66 #define HAVE_KRB5_GET_DEFAULT_IN_TKT_ETYPES 1
67 /* Define to 1 if you have the `krb5_get_error_string' function. */
68 #define HAVE_KRB5_GET_ERROR_STRING 1
69 /* Define to 1 if you have the `krb5_get_permitted_enctypes' function. */
70 /* #undef HAVE_KRB5_GET_PERMITTED_ENCTYPES */
71 /* Define to 1 if you have the `krb5_get_pw_salt' function. */
72 #define HAVE_KRB5_GET_PW_SALT 1
73 /* Define to 1 if you have the <krb5.h> header file. */
74 #define HAVE_KRB5_H 1
75 /* Define to 1 if you have the `krb5_initlog' function. */
76 #define HAVE_KRB5_INITLOG 1
77 /* Define to 1 if you have the `krb5_kdc_default_config' function. */
78 #define HAVE_KRB5_KDC_DEFAULT_CONFIG 1
79 /* Whether the krb5_creds struct has a keyblock property */
80 /* #undef HAVE_KRB5_KEYBLOCK_IN_CREDS */
81 /* Whether the krb5_keyblock struct has a keyvalue property */
82 #define HAVE_KRB5_KEYBLOCK_KEYVALUE 1
83 /* Whether krb5_keytab_entry has key member */
84 /* #undef HAVE_KRB5_KEYTAB_ENTRY_KEY */
85 /* Whether krb5_keytab_entry has keyblock member */
86 #define HAVE_KRB5_KEYTAB_ENTRY_KEYBLOCK 1
87 /* Define to 1 if you have the `krb5_krbhst_get_addrinfo' function. */
88 #define HAVE_KRB5_KRBHST_GET_ADDRINFO 1
89 /* Define to 1 if you have the `krb5_kt_compare' function. */
90 #define HAVE_KRB5_KT_COMPARE 1
91 /* Define to 1 if you have the `krb5_kt_free_entry' function. */
92 #define HAVE_KRB5_KT_FREE_ENTRY 1
93 /* Whether the type krb5_log_facility exists */
94 #define HAVE_KRB5_LOG_FACILITY 1
95 /* Define to 1 if you have the `krb5_mk_req_extended' function. */
96 #define HAVE_KRB5_MK_REQ_EXTENDED 1
97 /* Define to 1 if you have the `krb5_principal2salt' function. */
98 /* #undef HAVE_KRB5_PRINCIPAL2SALT */
99 /* Define to 1 if you have the `krb5_principal_get_comp_string' function. */
100 #define HAVE_KRB5_PRINCIPAL_GET_COMP_STRING 1
101 /* Whether krb5_princ_component is available */
102 /* #undef HAVE_KRB5_PRINC_COMPONENT */
103 /* Whether the krb5_creds struct has a session property */
104 #define HAVE_KRB5_SESSION_IN_CREDS 1
105 /* Define to 1 if you have the `krb5_set_default_in_tkt_etypes' function. */
106 #define HAVE_KRB5_SET_DEFAULT_IN_TKT_ETYPES 1
107 /* Define to 1 if you have the `krb5_set_default_tgs_ktypes' function. */
108 /* #undef HAVE_KRB5_SET_DEFAULT_TGS_KTYPES */
109 /* Define to 1 if you have the `krb5_set_real_time' function. */
110 #define HAVE_KRB5_SET_REAL_TIME 1
111 /* Define to 1 if you have the `krb5_set_warn_dest' function. */
112 #define HAVE_KRB5_SET_WARN_DEST 1
113 /* Define to 1 if you have the `krb5_string_to_key' function. */
114 #define HAVE_KRB5_STRING_TO_KEY 1
115 /* Define to 1 if you have the `krb5_string_to_key_salt' function. */
116 #define HAVE_KRB5_STRING_TO_KEY_SALT 1
117 /* Define to 1 if you have the `krb5_ticket_get_authorization_data_type' */
118 #define HAVE_KRB5_TICKET_GET_AUTHORIZATION_DATA_TYPE 1
119 /* Whether the krb5_ticket struct has a enc_part2 property */
120 /* #undef HAVE_KRB5_TKT_ENC_PART2 */
121 /* Define to 1 if you have the `krb5_use_enctype' function. */
122 /* #undef HAVE_KRB5_USE_ENCTYPE */
123 /* Define to 1 if you have the `krb5_verify_checksum' function. */
124 #define HAVE_KRB5_VERIFY_CHECKSUM 1
125 /* Whether krb5_princ_realm returns krb5_realm or krb5_data */
126 #define KRB5_PRINC_REALM_RETURNS_REALM 1
128 #include "heimdal/lib/krb5/krb5.h"
129 #include "heimdal/lib/com_err/com_err.h"
130 #endif
132 #endif