diff options
author | Günther Deschner <gdeschner@redhat.com> | 2013-06-21 18:39:42 +0200 |
---|---|---|
committer | Günther Deschner <gdeschner@redhat.com> | 2013-06-24 17:51:39 +0200 |
commit | 6cf727aad695466f45125bd30da5b2c2e2e9d48d (patch) | |
tree | 56091cf5f58af5e4b880dea0ced1316272411bc7 /proxy/src | |
parent | aadc71e0b4ded19a4dbfeafd509d265e42659c92 (diff) | |
download | gss-proxy-6cf727aad695466f45125bd30da5b2c2e2e9d48d.tar.gz gss-proxy-6cf727aad695466f45125bd30da5b2c2e2e9d48d.tar.xz gss-proxy-6cf727aad695466f45125bd30da5b2c2e2e9d48d.zip |
Further improve debugging, mention servicename, socket and euid.
Signed-off-by: Günther Deschner <gdeschner@redhat.com>
Reviewed-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'proxy/src')
-rw-r--r-- | proxy/src/gp_rpc_process.c | 5 |
1 files changed, 4 insertions, 1 deletions
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); } |