diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2013-08-23 10:49:25 -0400 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-08-27 17:01:28 +0200 |
commit | d9816ac73176ee1f4d9c1fbf4861918d01dda798 (patch) | |
tree | 034f3ba7f0d0d849897fc4d17625cf4a8a1fbd73 /src | |
parent | 2211abf772cb8b28356e57b8c64a4328c9b2c3dc (diff) | |
download | sssd-d9816ac73176ee1f4d9c1fbf4861918d01dda798.tar.gz sssd-d9816ac73176ee1f4d9c1fbf4861918d01dda798.tar.bz2 sssd-d9816ac73176ee1f4d9c1fbf4861918d01dda798.zip |
KRB5: Add low-level debugging to sss_get_ccache_name_for_principal
Diffstat (limited to 'src')
-rw-r--r-- | src/util/sss_krb5.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/util/sss_krb5.c b/src/util/sss_krb5.c index f150379c..457a52c0 100644 --- a/src/util/sss_krb5.c +++ b/src/util/sss_krb5.c @@ -1192,6 +1192,9 @@ char * sss_get_ccache_name_for_principal(TALLOC_CTX *mem_ctx, char *tmp_ccname = NULL; char *ret_ccname = NULL; + DEBUG(SSSDBG_TRACE_ALL, + ("Location: [%s]\n", location)); + kerr = krb5_cc_set_default_name(ctx, location); if (kerr != 0) { KRB5_DEBUG(SSSDBG_MINOR_FAILURE, ctx, kerr); @@ -1213,6 +1216,9 @@ char * sss_get_ccache_name_for_principal(TALLOC_CTX *mem_ctx, goto done; } + DEBUG(SSSDBG_TRACE_ALL, + ("tmp_ccname: [%s]\n", tmp_ccname)); + ret_ccname = talloc_strdup(mem_ctx, tmp_ccname); if (ret_ccname == NULL) { DEBUG(SSSDBG_OP_FAILURE, ("talloc_strdup failed (ENOMEM).\n")); |