From 6cf727aad695466f45125bd30da5b2c2e2e9d48d Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Fri, 21 Jun 2013 18:39:42 +0200 Subject: Further improve debugging, mention servicename, socket and euid. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Günther Deschner Reviewed-by: Simo Sorce --- proxy/src/gp_rpc_process.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'proxy') diff --git a/proxy/src/gp_rpc_process.c b/proxy/src/gp_rpc_process.c index 460c546..18f8dc6 100644 --- a/proxy/src/gp_rpc_process.c +++ b/proxy/src/gp_rpc_process.c @@ -23,6 +23,7 @@ DEALINGS IN THE SOFTWARE. */ +#include "gp_proxy.h" #include "gp_rpc_process.h" typedef int (*gp_exec_fn)(gp_exec_std_args); @@ -336,7 +337,9 @@ static int gp_rpc_execute(struct gssproxy_ctx *gpctx, struct gp_service *gpsvc, uint32_t proc, union gp_rpc_arg *arg, union gp_rpc_res *res) { - GPDEBUG("gp_rpc_execute: executing %d (%s)\n", proc, gp_rpc_procname(proc)); + GPDEBUG("gp_rpc_execute: executing %d (%s) for service \"%s\", euid: %d, socket: %s\n", + proc, gp_rpc_procname(proc), gpsvc->name, gpsvc->euid, gpsvc->socket); + return gp_xdr_set[proc].exec_fn(gpctx, gpsvc, arg, res); } -- cgit