From 5995fb8081f92acf39e5126e09d7db8fe6a02364 Mon Sep 17 00:00:00 2001 From: Kevin Coffman Date: Thu, 19 Apr 2007 14:45:19 -0400 Subject: Factor out error message printing differences between MIT and Heimdal Use a common function that factors out differences between MIT and Heimdal in getting the right error message printed. Add an autoconf check to see if the newer error message function is available. Signed-off-by: Kevin Coffman --- utils/gssd/krb5_util.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'utils/gssd/krb5_util.h') diff --git a/utils/gssd/krb5_util.h b/utils/gssd/krb5_util.h index 9cac202..78ad45c 100644 --- a/utils/gssd/krb5_util.h +++ b/utils/gssd/krb5_util.h @@ -24,6 +24,8 @@ void gssd_setup_krb5_machine_gss_ccache(char *servername); void gssd_destroy_krb5_machine_creds(void); int gssd_refresh_krb5_machine_credential(char *hostname, struct gssd_k5_kt_princ *ple); +const char * +gssd_k5_err_msg(krb5_context context, krb5_error_code code); #ifdef HAVE_SET_ALLOWABLE_ENCTYPES int limit_krb5_enctypes(struct rpc_gss_sec *sec, uid_t uid); -- cgit