X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=utils%2Fgssd%2Fgss_util.h;h=c81fc5a98d5fbe0864b1c1b172e3cd5c28ed6800;hp=9e480ac4f1c24d78389726b58a1881b4f224f012;hb=HEAD;hpb=5bf7310498337de9c05f7b6780b29a3ef5cf6bac diff --git a/utils/gssd/gss_util.h b/utils/gssd/gss_util.h index 9e480ac..c81fc5a 100644 --- a/utils/gssd/gss_util.h +++ b/utils/gssd/gss_util.h @@ -37,8 +37,21 @@ extern gss_cred_id_t gssd_creds; -int gssd_acquire_cred(char *server_name); +int gssd_acquire_cred(char *server_name, const gss_OID oid); void pgsserr(char *msg, u_int32_t maj_stat, u_int32_t min_stat, const gss_OID mech); +int gssd_check_mechs(void); + +#ifndef HAVE_LIBGSSGLUE +#include +#define gss_free_lucid_sec_context(min, ctx, ret) \ + gss_krb5_free_lucid_sec_context(min, ret) + +#define gss_export_lucid_sec_context gss_krb5_export_lucid_sec_context +#define gss_set_allowable_enctypes(min, cred, oid, num, types) \ + gss_krb5_set_allowable_enctypes(min, cred, num, types) +#endif + +extern int avoid_dns; #endif /* _GSS_UTIL_H_ */