From 3efe19be5b1ff867d5f6f723fb38ced5ac672e61 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Fri, 11 Jan 2013 15:03:58 +0100 Subject: Change interposer usage, clients need to set GSS_USE_PROXY=1|YES. The variable _GSSPROXY_LOOPS has been changed in favor of GSS_USE_PROXY. From now on, applications needs to explicitly enable the usage of the gssproxy interposer inception. --- proxy/src/mechglue/gss_plugin.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'proxy/src/mechglue') diff --git a/proxy/src/mechglue/gss_plugin.c b/proxy/src/mechglue/gss_plugin.c index 4f7ad62..ac9f678 100644 --- a/proxy/src/mechglue/gss_plugin.c +++ b/proxy/src/mechglue/gss_plugin.c @@ -100,8 +100,11 @@ gss_OID_set gss_mech_interposer(gss_OID mech_type) /* avoid looping in the gssproxy daemon by avoiding to interpose * any mechanism */ - envval = getenv("_GSSPROXY_LOOPS"); - if (envval && strcmp(envval, "NO") == 0) { + envval = getenv("GSS_USE_PROXY"); + if (!envval) { + return NULL; + } + if ((strcmp(envval, "YES") != 0) && (strcmp(envval, "1") != 0)) { return NULL; } -- cgit