summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2005-10-01 09:43:53 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:04:49 -0500
commitaa0dff680d2ea351a0a21cb86a51cd99887237c4 (patch)
tree048292b2e7fdea51d79fa8568dc64c6d72b52680 /source3/libsmb
parentba51ce60535b0f4c59be393bd4a925d51a583e6c (diff)
downloadsamba-aa0dff680d2ea351a0a21cb86a51cd99887237c4.tar.gz
samba-aa0dff680d2ea351a0a21cb86a51cd99887237c4.tar.bz2
samba-aa0dff680d2ea351a0a21cb86a51cd99887237c4.zip
r10671: Attempt to fix the build on machines without kerberos headers.
Volker (This used to be commit cb816e65a95802d5172c410d1acda2da070b871d)
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/clikrb5.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/source3/libsmb/clikrb5.c b/source3/libsmb/clikrb5.c
index e3ad5f17cb..df5ad867da 100644
--- a/source3/libsmb/clikrb5.c
+++ b/source3/libsmb/clikrb5.c
@@ -642,7 +642,7 @@ failed:
#endif
}
-void smb_krb5_checksum_from_pac_sig(krb5_checksum *cksum,
+ void smb_krb5_checksum_from_pac_sig(krb5_checksum *cksum,
PAC_SIGNATURE_DATA *sig)
{
#ifdef HAVE_CHECKSUM_IN_KRB5_CHECKSUM
@@ -656,7 +656,7 @@ void smb_krb5_checksum_from_pac_sig(krb5_checksum *cksum,
#endif
}
-krb5_error_code smb_krb5_verify_checksum(krb5_context context,
+ krb5_error_code smb_krb5_verify_checksum(krb5_context context,
krb5_keyblock *keyblock,
krb5_keyusage usage,
krb5_checksum *cksum,
@@ -728,7 +728,7 @@ krb5_error_code smb_krb5_verify_checksum(krb5_context context,
return ret;
}
-time_t get_authtime_from_tkt(krb5_ticket *tkt)
+ time_t get_authtime_from_tkt(krb5_ticket *tkt)
{
#if defined(HAVE_KRB5_TKT_ENC_PART2)
return tkt->enc_part2->times.authtime;
@@ -819,7 +819,7 @@ out:
return ret;
}
-void smb_krb5_free_ap_req(krb5_context context,
+ void smb_krb5_free_ap_req(krb5_context context,
krb5_ap_req *ap_req)
{
#ifdef HAVE_KRB5_FREE_AP_REQ /* MIT */
@@ -836,7 +836,7 @@ void smb_krb5_free_ap_req(krb5_context context,
krb5_error_code decode_krb5_ap_req(const krb5_data *code, krb5_ap_req **rep);
#endif
-krb5_error_code smb_krb5_get_keyinfo_from_ap_req(krb5_context context,
+ krb5_error_code smb_krb5_get_keyinfo_from_ap_req(krb5_context context,
const krb5_data *inbuf,
krb5_kvno *kvno,
krb5_enctype *enctype)
@@ -874,7 +874,7 @@ krb5_error_code smb_krb5_get_keyinfo_from_ap_req(krb5_context context,
return ret;
}
-krb5_error_code krb5_rd_req_return_keyblock_from_keytab(krb5_context context,
+ krb5_error_code krb5_rd_req_return_keyblock_from_keytab(krb5_context context,
krb5_auth_context *auth_context,
const krb5_data *inbuf,
krb5_const_principal server,
@@ -930,7 +930,7 @@ out:
return ret;
}
-krb5_error_code smb_krb5_parse_name_norealm(krb5_context context,
+ krb5_error_code smb_krb5_parse_name_norealm(krb5_context context,
const char *name,
krb5_principal *principal)
{
@@ -946,7 +946,7 @@ krb5_error_code smb_krb5_parse_name_norealm(krb5_context context,
return krb5_parse_name(context, name, principal);
}
-BOOL smb_krb5_principal_compare_any_realm(krb5_context context,
+ BOOL smb_krb5_principal_compare_any_realm(krb5_context context,
krb5_const_principal princ1,
krb5_const_principal princ2)
{
@@ -983,7 +983,7 @@ BOOL smb_krb5_principal_compare_any_realm(krb5_context context,
#else /* HAVE_KRB5 */
/* this saves a few linking headaches */
-int cli_krb5_get_ticket(const char *principal, time_t time_offset,
+ int cli_krb5_get_ticket(const char *principal, time_t time_offset,
DATA_BLOB *ticket, DATA_BLOB *session_key_krb5, uint32 extra_ap_opts)
{
DEBUG(0,("NO KERBEROS SUPPORT\n"));