1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00

r1287: Attempt to fix the build for systems without kerberos headers.

Volker
This commit is contained in:
Volker Lendecke 2004-06-28 11:12:43 +00:00 committed by Gerald (Jerry) Carter
parent e8786506b8
commit 43020cf459

View File

@ -124,13 +124,13 @@
#endif #endif
#if defined(HAVE_KRB5_GET_PERMITTED_ENCTYPES) #if defined(HAVE_KRB5_GET_PERMITTED_ENCTYPES)
krb5_error_code get_kerberos_allowed_etypes(krb5_context context, krb5_error_code get_kerberos_allowed_etypes(krb5_context context,
krb5_enctype **enctypes) krb5_enctype **enctypes)
{ {
return krb5_get_permitted_enctypes(context, enctypes); return krb5_get_permitted_enctypes(context, enctypes);
} }
#elif defined(HAVE_KRB5_GET_DEFAULT_IN_TKT_ETYPES) #elif defined(HAVE_KRB5_GET_DEFAULT_IN_TKT_ETYPES)
krb5_error_code get_kerberos_allowed_etypes(krb5_context context, krb5_error_code get_kerberos_allowed_etypes(krb5_context context,
krb5_enctype **enctypes) krb5_enctype **enctypes)
{ {
return krb5_get_default_in_tkt_etypes(context, enctypes); return krb5_get_default_in_tkt_etypes(context, enctypes);
@ -473,7 +473,7 @@ failed:
} }
#endif #endif
krb5_error_code smb_krb5_kt_free_entry(krb5_context context, krb5_keytab_entry *kt_entry) krb5_error_code smb_krb5_kt_free_entry(krb5_context context, krb5_keytab_entry *kt_entry)
{ {
#if defined(HAVE_KRB5_KT_FREE_ENTRY) #if defined(HAVE_KRB5_KT_FREE_ENTRY)
return krb5_kt_free_entry(context, kt_entry); return krb5_kt_free_entry(context, kt_entry);