summaryrefslogtreecommitdiffstats
path: root/proxy/src/gp_rpc_acquire_cred.c
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2015-11-10 23:02:04 -0500
committerRobbie Harwood <rharwood@redhat.com>2015-12-01 17:33:54 -0500
commitfdcad4fa9696c5f501b16d1b3f622ccc28b6147f (patch)
tree4c32fd7aa90bb7f3cb02d2dcd1dd7c29645224ae /proxy/src/gp_rpc_acquire_cred.c
parent71d316dfc51bcb9e18da61fb7299bb021523cde4 (diff)
downloadgss-proxy-fdcad4fa9696c5f501b16d1b3f622ccc28b6147f.tar.gz
gss-proxy-fdcad4fa9696c5f501b16d1b3f622ccc28b6147f.tar.xz
gss-proxy-fdcad4fa9696c5f501b16d1b3f622ccc28b6147f.zip
Add higher level debugging for all rpc calls
Print everything, except octet string buffers which are truncated. Signed-off-by: Simo Sorce <simo@redhat.com> Reviewed-by: Robbie Harwood <rharwood@redhat.com>
Diffstat (limited to 'proxy/src/gp_rpc_acquire_cred.c')
-rw-r--r--proxy/src/gp_rpc_acquire_cred.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/proxy/src/gp_rpc_acquire_cred.c b/proxy/src/gp_rpc_acquire_cred.c
index 2a81bb8..e9deabf 100644
--- a/proxy/src/gp_rpc_acquire_cred.c
+++ b/proxy/src/gp_rpc_acquire_cred.c
@@ -24,6 +24,8 @@ int gp_acquire_cred(struct gp_call_ctx *gpcall,
aca = &arg->acquire_cred;
acr = &res->acquire_cred;
+ GPRPCDEBUG(gssx_arg_acquire_cred, aca);
+
if (aca->input_cred_handle) {
ret_maj = gp_import_gssx_cred(&ret_min, gpcall,
aca->input_cred_handle, &in_cred);
@@ -137,6 +139,8 @@ done:
ret_maj, ret_min, desired_mech,
&acr->status);
+ GPRPCDEBUG(gssx_res_acquire_cred, acr);
+
gss_release_cred(&ret_min, &out_cred);
gss_release_oid_set(&ret_min, &use_mechs);
gss_release_oid_set(&ret_min, &desired_mechs);