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:
parent
e8786506b8
commit
43020cf459
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user