summaryrefslogtreecommitdiffstats
path: root/proxy/src/gp_rpc_init_sec_context.c
diff options
context:
space:
mode:
Diffstat (limited to 'proxy/src/gp_rpc_init_sec_context.c')
-rw-r--r--proxy/src/gp_rpc_init_sec_context.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/proxy/src/gp_rpc_init_sec_context.c b/proxy/src/gp_rpc_init_sec_context.c
index 5e5d6f1..5fe85af 100644
--- a/proxy/src/gp_rpc_init_sec_context.c
+++ b/proxy/src/gp_rpc_init_sec_context.c
@@ -109,6 +109,10 @@ int gp_init_sec_context(struct gp_call_ctx *gpcall,
GSS_C_INITIATE,
time_req, 0, &ich,
NULL, NULL, NULL);
+ } else if (gss_oid_equal(mech_type, &gp_mech_ntlmssp)) {
+ ret_maj = gp_add_ntlmssp_creds(&ret_min, gpcall,
+ NULL, NULL,
+ GSS_C_INITIATE, &ich);
} else {
ret_maj = GSS_S_NO_CRED;
ret_min = 0;