summaryrefslogtreecommitdiffstats
path: root/proxy/src/client
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2016-11-29 07:02:10 -0500
committerSimo Sorce <simo@redhat.com>2017-01-09 12:08:33 -0500
commit4bbf5dbe3e87ee883f85310e9d7f03e4883ccd79 (patch)
tree4cef6aa967fd83f4403b8238e9055c91d0226fe2 /proxy/src/client
parentab676cdc5d023858f45fec2b7a180d5a5a8f05cd (diff)
Make sure to pass on request for delegated creds
Signed-off-by: Simo Sorce <simo@redhat.com> Reviewed-by: Robbie Harwood <rharwood@redhat.com>
Diffstat (limited to 'proxy/src/client')
-rw-r--r--proxy/src/client/gpm_accept_sec_context.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/proxy/src/client/gpm_accept_sec_context.c b/proxy/src/client/gpm_accept_sec_context.c
index 375ee17..ef5e79c 100644
--- a/proxy/src/client/gpm_accept_sec_context.c
+++ b/proxy/src/client/gpm_accept_sec_context.c
@@ -50,6 +50,11 @@ OM_uint32 gpm_accept_sec_context(OM_uint32 *minor_status,
}
}
+ /* check if we want delegated creds */
+ if (delegated_cred_handle) {
+ arg->ret_deleg_cred = true;
+ }
+
/* execute proxy request */
ret = gpm_make_call(GSSX_ACCEPT_SEC_CONTEXT, &uarg, &ures);
if (ret) {