summaryrefslogtreecommitdiffstats
path: root/proxy/src/gp_rpc_init_sec_context.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/src/gp_rpc_init_sec_context.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/src/gp_rpc_init_sec_context.c')
-rw-r--r--proxy/src/gp_rpc_init_sec_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proxy/src/gp_rpc_init_sec_context.c b/proxy/src/gp_rpc_init_sec_context.c
index 563275d..d607b07 100644
--- a/proxy/src/gp_rpc_init_sec_context.c
+++ b/proxy/src/gp_rpc_init_sec_context.c
@@ -84,7 +84,7 @@ int gp_init_sec_context(struct gp_call_ctx *gpcall,
if (!isca->cred_handle) {
if (gss_oid_equal(mech_type, gss_mech_krb5)) {
ret_maj = gp_add_krb5_creds(&ret_min, gpcall,
- NULL, NULL,
+ ACQ_NORMAL, NULL, NULL,
GSS_C_INITIATE,
time_req, 0, &ich,
NULL, NULL, NULL);