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