summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2006-03-09 14:51:40 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:11:09 -0500
commite11a85eebd660073f3f68b7d6d289476e5193d28 (patch)
tree4d0d340f8be436f7e19b3d2d54526a432a435001 /source3/include
parentaeea749548f691fa870a1c0668495973849a235b (diff)
downloadsamba-e11a85eebd660073f3f68b7d6d289476e5193d28.tar.gz
samba-e11a85eebd660073f3f68b7d6d289476e5193d28.tar.bz2
samba-e11a85eebd660073f3f68b7d6d289476e5193d28.zip
r14074: Some cleanup; there is no point in declaring and mapping
KRB5KRB_ERR_RESPONSE_TOO_BIG when the krb5 library does not know about this. Guenther (This used to be commit 4a1a3c4808307e09fa8ff85da9a963a4a6f0e9ae)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/includes.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index aef3437d56..4bd84c877a 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -1462,10 +1462,6 @@ time_t timegm(struct tm *tm);
#if defined(HAVE_KRB5)
-#ifndef KRB5KRB_ERR_RESPONSE_TOO_BIG
-#define KRB5KRB_ERR_RESPONSE_TOO_BIG (-1765328332L)
-#endif
-
#ifndef HAVE_KRB5_SET_REAL_TIME
krb5_error_code krb5_set_real_time(krb5_context context, int32_t seconds, int32_t microseconds);
#endif
@@ -1538,6 +1534,8 @@ int cli_krb5_get_ticket(const char *principal, time_t time_offset,
PAC_LOGON_INFO *get_logon_info_from_pac(PAC_DATA *pac_data);
krb5_error_code smb_krb5_renew_ticket(const char *ccache_string, const char *client_string, const char *service_string, time_t *new_start_time);
krb5_error_code kpasswd_err_to_krb5_err(krb5_error_code res_code);
+NTSTATUS krb5_to_nt_status(krb5_error_code kerberos_error);
+krb5_error_code nt_status_to_krb5(NTSTATUS nt_status);
#endif /* HAVE_KRB5 */