diff options
-rw-r--r-- | proxy/src/gp_creds.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/proxy/src/gp_creds.c b/proxy/src/gp_creds.c index e02a667..5337390 100644 --- a/proxy/src/gp_creds.c +++ b/proxy/src/gp_creds.c @@ -289,6 +289,11 @@ static int gp_get_cred_environment(struct gp_call_ctx *gpcall, } *requested_name = name; } + } else { + /* No name provided */ + if (svc->euid != target_uid) { + user_requested = true; + } } /* impersonation case (only for initiation) */ |