summaryrefslogtreecommitdiffstats
path: root/proxy/src/gp_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'proxy/src/gp_init.c')
-rw-r--r--proxy/src/gp_init.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/proxy/src/gp_init.c b/proxy/src/gp_init.c
index 9ad4ff1..835c049 100644
--- a/proxy/src/gp_init.c
+++ b/proxy/src/gp_init.c
@@ -65,6 +65,9 @@ void init_server(bool daemonize)
/* Set up neutral locale */
setlocale(LC_ALL, "");
+ /* Set env var to avoid looping to ourselves in GSSAPI */
+ setenv("_GSSPROXY_LOOPS", "NO", 0);
+
gp_logging_init();
}