~zulcss/samba/server-dailies-3.4

« back to all changes in this revision

Viewing changes to lib/replace/system/kerberos.h

  • Committer: Chuck Short
  • Date: 2010-09-28 20:38:39 UTC
  • Revision ID: zulcss@ubuntu.com-20100928203839-pgjulytsi9ue63x1
Initial version

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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 3 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, see <http://www.gnu.org/licenses/>.
 
27
 
 
28
*/
 
29
 
 
30
#ifdef HAVE_KRB5
 
31
/* Whether the krb5_address struct has a addrtype property */
 
32
/* #undef HAVE_ADDRTYPE_IN_KRB5_ADDRESS */
 
33
/* Whether the krb5_address struct has a addr_type property */
 
34
#define HAVE_ADDR_TYPE_IN_KRB5_ADDRESS 1
 
35
/* Define to 1 if you have the `gsskrb5_extract_authz_data_from_sec_context' */
 
36
#define HAVE_GSSKRB5_EXTRACT_AUTHZ_DATA_FROM_SEC_CONTEXT 1
 
37
/* Define to 1 if you have the `gsskrb5_get_initiator_subkey' function. */
 
38
#define HAVE_GSSKRB5_GET_INITIATOR_SUBKEY 1
 
39
/* Define to 1 if you have the `gsskrb5_register_acceptor_identity' function. */
 
40
#define HAVE_GSSKRB5_REGISTER_ACCEPTOR_IDENTITY 1
 
41
/* Define to 1 if you have the `gss_krb5_ccache_name' function. */
 
42
#define HAVE_GSS_KRB5_CCACHE_NAME 1
 
43
/* Define to 1 if you have the `krb5_addlog_func' function. */
 
44
#define HAVE_KRB5_ADDLOG_FUNC 1
 
45
/* Define to 1 if you have the `krb5_auth_con_setkey' function. */
 
46
#define HAVE_KRB5_AUTH_CON_SETKEY 1
 
47
/* Define to 1 if you have the `krb5_auth_con_setuseruserkey' function. */
 
48
/* #undef HAVE_KRB5_AUTH_CON_SETUSERUSERKEY */
 
49
/* Define to 1 if you have the `krb5_c_enctype_compare' function. */
 
50
#define HAVE_KRB5_C_ENCTYPE_COMPARE 1
 
51
/* Define to 1 if you have the `krb5_c_verify_checksum' function. */
 
52
#define HAVE_KRB5_C_VERIFY_CHECKSUM 1
 
53
/* Whether the type krb5_encrypt_block exists */
 
54
/* #undef HAVE_KRB5_ENCRYPT_BLOCK */
 
55
/* Define to 1 if you have the `krb5_encrypt_data' function. */
 
56
/* #undef HAVE_KRB5_ENCRYPT_DATA */
 
57
/* Define to 1 if you have the `krb5_enctypes_compatible_keys' function. */
 
58
#define HAVE_KRB5_ENCTYPES_COMPATIBLE_KEYS 1
 
59
/* Define to 1 if you have the `krb5_free_data_contents' function. */
 
60
#define HAVE_KRB5_FREE_DATA_CONTENTS 1
 
61
/* Define to 1 if you have the `krb5_free_error_string' function. */
 
62
#define HAVE_KRB5_FREE_ERROR_STRING 1
 
63
/* Define to 1 if you have the `krb5_free_keytab_entry_contents' function. */
 
64
/* #undef HAVE_KRB5_FREE_KEYTAB_ENTRY_CONTENTS */
 
65
/* Define to 1 if you have the `krb5_free_ktypes' function. */
 
66
/* #undef HAVE_KRB5_FREE_KTYPES */
 
67
/* Define to 1 if you have the `krb5_free_unparsed_name' function. */
 
68
/* #undef HAVE_KRB5_FREE_UNPARSED_NAME */
 
69
/* Define to 1 if you have the `krb5_get_default_in_tkt_etypes' function. */
 
70
#define HAVE_KRB5_GET_DEFAULT_IN_TKT_ETYPES 1
 
71
/* Define to 1 if you have the `krb5_get_error_string' function. */
 
72
#define HAVE_KRB5_GET_ERROR_STRING 1
 
73
/* Define to 1 if you have the `krb5_get_permitted_enctypes' function. */
 
74
/* #undef HAVE_KRB5_GET_PERMITTED_ENCTYPES */
 
75
/* Define to 1 if you have the `krb5_get_pw_salt' function. */
 
76
#define HAVE_KRB5_GET_PW_SALT 1
 
77
/* Define to 1 if you have the <krb5.h> header file. */
 
78
#define HAVE_KRB5_H 1
 
79
/* Define to 1 if you have the `krb5_initlog' function. */
 
80
#define HAVE_KRB5_INITLOG 1
 
81
/* Define to 1 if you have the `krb5_kdc_default_config' function. */
 
82
#define HAVE_KRB5_KDC_DEFAULT_CONFIG 1
 
83
/* Whether the krb5_creds struct has a keyblock property */
 
84
/* #undef HAVE_KRB5_KEYBLOCK_IN_CREDS */
 
85
/* Whether the krb5_keyblock struct has a keyvalue property */
 
86
#define HAVE_KRB5_KEYBLOCK_KEYVALUE 1
 
87
/* Whether krb5_keytab_entry has key member */
 
88
/* #undef HAVE_KRB5_KEYTAB_ENTRY_KEY */
 
89
/* Whether krb5_keytab_entry has keyblock member */
 
90
#define HAVE_KRB5_KEYTAB_ENTRY_KEYBLOCK 1
 
91
/* Define to 1 if you have the `krb5_krbhst_get_addrinfo' function. */
 
92
#define HAVE_KRB5_KRBHST_GET_ADDRINFO 1
 
93
/* Define to 1 if you have the `krb5_kt_compare' function. */
 
94
#define HAVE_KRB5_KT_COMPARE 1
 
95
/* Define to 1 if you have the `krb5_kt_free_entry' function. */
 
96
#define HAVE_KRB5_KT_FREE_ENTRY 1
 
97
/* Whether the type krb5_log_facility exists */
 
98
#define HAVE_KRB5_LOG_FACILITY 1
 
99
/* Define to 1 if you have the `krb5_mk_req_extended' function. */
 
100
#define HAVE_KRB5_MK_REQ_EXTENDED 1
 
101
/* Define to 1 if you have the `krb5_principal2salt' function. */
 
102
/* #undef HAVE_KRB5_PRINCIPAL2SALT */
 
103
/* Define to 1 if you have the `krb5_principal_get_comp_string' function. */
 
104
#define HAVE_KRB5_PRINCIPAL_GET_COMP_STRING 1
 
105
/* Whether krb5_princ_component is available */
 
106
/* #undef HAVE_KRB5_PRINC_COMPONENT */
 
107
/* Whether the krb5_creds struct has a session property */
 
108
#define HAVE_KRB5_SESSION_IN_CREDS 1
 
109
/* Define to 1 if you have the `krb5_set_default_in_tkt_etypes' function. */
 
110
#define HAVE_KRB5_SET_DEFAULT_IN_TKT_ETYPES 1
 
111
/* Define to 1 if you have the `krb5_set_default_tgs_ktypes' function. */
 
112
/* #undef HAVE_KRB5_SET_DEFAULT_TGS_KTYPES */
 
113
/* Define to 1 if you have the `krb5_set_real_time' function. */
 
114
#define HAVE_KRB5_SET_REAL_TIME 1
 
115
/* Define to 1 if you have the `krb5_set_warn_dest' function. */
 
116
#define HAVE_KRB5_SET_WARN_DEST 1
 
117
/* Define to 1 if you have the `krb5_string_to_key' function. */
 
118
#define HAVE_KRB5_STRING_TO_KEY 1
 
119
/* Define to 1 if you have the `krb5_string_to_key_salt' function. */
 
120
#define HAVE_KRB5_STRING_TO_KEY_SALT 1
 
121
/* Define to 1 if you have the `krb5_ticket_get_authorization_data_type' */
 
122
#define HAVE_KRB5_TICKET_GET_AUTHORIZATION_DATA_TYPE 1
 
123
/* Whether the krb5_ticket struct has a enc_part2 property */
 
124
/* #undef HAVE_KRB5_TKT_ENC_PART2 */
 
125
/* Define to 1 if you have the `krb5_use_enctype' function. */
 
126
/* #undef HAVE_KRB5_USE_ENCTYPE */
 
127
/* Define to 1 if you have the `krb5_verify_checksum' function. */
 
128
#define HAVE_KRB5_VERIFY_CHECKSUM 1
 
129
/* Whether krb5_princ_realm returns krb5_realm or krb5_data */
 
130
#define KRB5_PRINC_REALM_RETURNS_REALM 1
 
131
 
 
132
#include <krb5.h>
 
133
#include <com_err.h>
 
134
 
 
135
#endif
 
136
 
 
137
#endif