diff options
author | Günther Deschner <gdeschner@redhat.com> | 2013-05-16 09:30:17 +0200 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2013-05-16 06:11:43 -0400 |
commit | 2bd59288ca3625c4d03f68b967a8c4c1f50022cd (patch) | |
tree | b76d425f9748483a7fd9cde630d8315ac1b4d1ef | |
parent | 4d95d30532e2509a07285614b2f17a26dcb44725 (diff) | |
download | gss-proxy-2bd59288ca3625c4d03f68b967a8c4c1f50022cd.tar.gz gss-proxy-2bd59288ca3625c4d03f68b967a8c4c1f50022cd.tar.xz gss-proxy-2bd59288ca3625c4d03f68b967a8c4c1f50022cd.zip |
Overwrite existing GSS_USE_PROXY variable in the server.
This is required to make sure we never recurse into ourselves.
Signed-off-by: Günther Deschner <gdeschner@redhat.com>
Reviewed-by: Simo Sorce <simo@redhat.com>
-rw-r--r-- | proxy/src/gp_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
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(); } |