From: Ken Raeburn Date: Mon, 25 May 2009 21:48:49 +0000 (+0000) Subject: On error getting forwarded creds, actually print out the error X-Git-Tag: krb5-1.8-alpha1~452 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=84d3b211101a583c7afa7f08ab307207aba8454b;p=krb5.git On error getting forwarded creds, actually print out the error git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22384 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/appl/bsd/kcmd.c b/src/appl/bsd/kcmd.c index 199056944..16c8e0438 100644 --- a/src/appl/bsd/kcmd.c +++ b/src/appl/bsd/kcmd.c @@ -551,7 +551,8 @@ kcmd(sock, ahost, rport, locuser, remuser, cmd, fd2p, service, realm, 0, options & OPTS_FORWARDABLE_CREDS, &outbuf); if (status) { - fprintf(stderr, "kcmd: Error getting forwarded creds\n"); + fprintf(stderr, "kcmd: Error getting forwarded creds: %s\n", + error_message(status)); goto bad2; }