summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2014-12-08 12:15:03 -0500
committerSimo Sorce <simo@redhat.com>2015-03-24 11:46:30 -0400
commitca9e547858c8771148070ad68de75e0eee2a14fc (patch)
treec3d6835cd6407bac1aa0e3f148750342b155274e
parentcde06ff7cea982c206a99a34457a07d392a65552 (diff)
downloadgss-proxy-ca9e547858c8771148070ad68de75e0eee2a14fc.tar.gz
gss-proxy-ca9e547858c8771148070ad68de75e0eee2a14fc.tar.xz
gss-proxy-ca9e547858c8771148070ad68de75e0eee2a14fc.zip
Log why acquiring credentials failed.
This will help understanding why gss-proxy interposed programs are failing. Signed-off-by: Simo Sorce <simo@redhat.com>
-rw-r--r--proxy/src/gp_creds.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/proxy/src/gp_creds.c b/proxy/src/gp_creds.c
index 1ac1fac..6fecf79 100644
--- a/proxy/src/gp_creds.c
+++ b/proxy/src/gp_creds.c
@@ -536,6 +536,8 @@ uint32_t gp_add_krb5_creds(uint32_t *min,
done:
if (ret_maj) {
+ gp_log_status(&gp_mech_krb5, ret_maj, ret_min);
+
if (*output_cred_handle) {
gss_release_cred(&discard, output_cred_handle);
}