>From 1cc5513bdabc892ece5a6cdc73f8897c3d3a3027 Mon Sep 17 00:00:00 2001
From: Simo Sorce <simo@redhat.com>
Date: Mon, 8 Dec 2014 12:15:03 -0500
Subject: [PATCH 2/6] Log why acquiring credentials failed.

This will help understanding why gss-proxy interposed programs are
failing.

Signed-off-by: Simo Sorce <simo@redhat.com>
---
 proxy/src/gp_creds.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/proxy/src/gp_creds.c b/proxy/src/gp_creds.c
index 1ac1facac19ef355fdc516c66c18156622d58799..6fecf790e14a210c10014f82968e447a92f1de06 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);
         }
-- 
2.1.0

