From 2bd59288ca3625c4d03f68b967a8c4c1f50022cd Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 16 May 2013 09:30:17 +0200 Subject: Overwrite existing GSS_USE_PROXY variable in the server. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is required to make sure we never recurse into ourselves. Signed-off-by: Günther Deschner Reviewed-by: Simo Sorce --- proxy/src/gp_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'proxy/src/gp_init.c') diff --git a/proxy/src/gp_init.c b/proxy/src/gp_init.c index 6c17058..92c0a47 100644 --- a/proxy/src/gp_init.c +++ b/proxy/src/gp_init.c @@ -71,7 +71,7 @@ void init_server(bool daemonize) setlocale(LC_ALL, ""); /* Set env var to avoid looping to ourselves in GSSAPI */ - setenv("GSS_USE_PROXY", "NO", 0); + setenv("GSS_USE_PROXY", "NO", 1); gp_logging_init(); } -- cgit