From 82d0e434b7e59e92893711225011e942629b3080 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 2 Aug 1999 17:47:14 +0000 Subject: Heimdal GSSAPI patches. svn path=/trunk/; revision=2533 --- driver.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'driver.c') diff --git a/driver.c b/driver.c index 2be446c4..87a299da 100644 --- a/driver.c +++ b/driver.c @@ -1243,11 +1243,18 @@ const char *canonical; /* server name */ krb5_auth_con_free(context, auth_context); if (retval) { +#ifdef HEIMDAL + if (err_ret && err_ret->e_text) { + report(stderr, _("krb5_sendauth: %s [server says '%*s'] \n"), + error_message(retval), + err_ret->e_text); +#else if (err_ret && err_ret->text.length) { report(stderr, _("krb5_sendauth: %s [server says '%*s'] \n"), error_message(retval), err_ret->text.length, err_ret->text.data); +#endif krb5_free_error(context, err_ret); } else report(stderr, "krb5_sendauth: %s\n", error_message(retval)); -- cgit v1.2.3