summaryrefslogtreecommitdiffstats
path: root/proxy/tests/cli_srv_comm.c
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2014-08-12 18:05:47 -0400
committerRobbie Harwood <rharwood@redhat.com>2015-12-01 17:45:53 -0500
commit7e71db8edc9694ed75110ddd9efa373250cc0545 (patch)
tree3534b077c88f6f710d0e7e4e5680620ccefb7216 /proxy/tests/cli_srv_comm.c
parente155f81d84f7dd0b0b643a1228c2f9c503fc87e5 (diff)
downloadgss-proxy-7e71db8edc9694ed75110ddd9efa373250cc0545.tar.gz
gss-proxy-7e71db8edc9694ed75110ddd9efa373250cc0545.tar.xz
gss-proxy-7e71db8edc9694ed75110ddd9efa373250cc0545.zip
Add gss_acquire_cred_impersonate_name support
This is used by a client that wants to peform a s4u2self operation using its server credentials. Signed-off-by: Simo Sorce <simo@redhat.com> Reviewed-by: Robbie Harwoood <rharwood@redhat.com>
Diffstat (limited to 'proxy/tests/cli_srv_comm.c')
-rw-r--r--proxy/tests/cli_srv_comm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/proxy/tests/cli_srv_comm.c b/proxy/tests/cli_srv_comm.c
index 8a18b4e..77fe338 100644
--- a/proxy/tests/cli_srv_comm.c
+++ b/proxy/tests/cli_srv_comm.c
@@ -457,10 +457,11 @@ void *server_thread(void *pvt)
}
ret_maj = gpm_acquire_cred(&ret_min,
- NULL,
+ NULL, NULL,
GSS_C_INDEFINITE,
mech_set,
GSS_C_ACCEPT,
+ false,
&cred_handle,
NULL,
NULL);