From fdcad4fa9696c5f501b16d1b3f622ccc28b6147f Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Tue, 10 Nov 2015 23:02:04 -0500 Subject: Add higher level debugging for all rpc calls Print everything, except octet string buffers which are truncated. Signed-off-by: Simo Sorce Reviewed-by: Robbie Harwood --- proxy/src/gp_rpc_acquire_cred.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'proxy/src/gp_rpc_acquire_cred.c') 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); -- cgit