From: Zdeněk Salvet Date: Tue, 27 Mar 2007 07:20:40 +0000 (+0000) Subject: Syslog/print details on GSS errors in client authentication. X-Git-Tag: merge_31_3_head_after~14 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=f6d1f1a9e6c4bbbbec11a224e70195965528af68;p=jra1mw.git Syslog/print details on GSS errors in client authentication. --- diff --git a/org.glite.lb.server/src/bkserverd.c b/org.glite.lb.server/src/bkserverd.c index ea6c2c3..8ca5724 100644 --- a/org.glite.lb.server/src/bkserverd.c +++ b/org.glite.lb.server/src/bkserverd.c @@ -907,6 +907,8 @@ int bk_handle_connection(int conn, struct timeval *timeout, void *data) edg_wll_FreeContext(ctx); return -1; } + dprintf(("[%d] %s: GSS error: %s, closing.\n", getpid(),ctx->connPool[ctx->connToUse].peerName,ctx->errDesc)); + if (!debug) syslog(LOG_ERR, "%s: GSS error: %s",ctx->connPool[ctx->connToUse].peerName,ctx->errDesc); } else {