diff options
author | Simo Sorce <simo@redhat.com> | 2014-12-08 12:15:03 -0500 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2015-03-21 14:12:42 -0400 |
commit | 5a00bbdc2eb4e48c6a98c55dc9d8dfc2131b6623 (patch) | |
tree | c3d6835cd6407bac1aa0e3f148750342b155274e | |
parent | 13afa2608e1e7d8e757295dda35fa1def1be663f (diff) | |
download | gss-proxy-5a00bbdc2eb4e48c6a98c55dc9d8dfc2131b6623.tar.gz gss-proxy-5a00bbdc2eb4e48c6a98c55dc9d8dfc2131b6623.tar.xz gss-proxy-5a00bbdc2eb4e48c6a98c55dc9d8dfc2131b6623.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.c | 2 |
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); } |