summaryrefslogtreecommitdiffstats
path: root/source3/librpc/rpc/dcerpc_gssapi.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/librpc/rpc/dcerpc_gssapi.c')
-rw-r--r--source3/librpc/rpc/dcerpc_gssapi.c15
1 files changed, 13 insertions, 2 deletions
diff --git a/source3/librpc/rpc/dcerpc_gssapi.c b/source3/librpc/rpc/dcerpc_gssapi.c
index e3e5eedac4d..d4153692079 100644
--- a/source3/librpc/rpc/dcerpc_gssapi.c
+++ b/source3/librpc/rpc/dcerpc_gssapi.c
@@ -240,7 +240,7 @@ NTSTATUS gse_init_client(TALLOC_CTX *mem_ctx,
mech_set.elements = &gse_ctx->gss_mech;
gss_maj = gss_acquire_cred(&gss_min,
- gse_ctx->server_name,
+ GSS_C_NO_NAME,
GSS_C_INDEFINITE,
&mech_set,
GSS_C_INITIATE,
@@ -296,7 +296,8 @@ NTSTATUS gse_get_client_auth_token(TALLOC_CTX *mem_ctx,
case GSS_S_CONTINUE_NEEDED:
/* we will need a third leg */
gse_ctx->more_processing = true;
- status = NT_STATUS_MORE_PROCESSING_REQUIRED;
+ /* status = NT_STATUS_MORE_PROCESSING_REQUIRED; */
+ status = NT_STATUS_OK;
break;
default:
DEBUG(0, ("gss_init_sec_context failed with [%s]\n",
@@ -368,6 +369,11 @@ done:
return errstr;
}
+bool gse_require_more_processing(struct gse_context *gse_ctx)
+{
+ return gse_ctx->more_processing;
+}
+
DATA_BLOB gse_get_session_key(struct gse_context *gse_ctx)
{
return gse_ctx->session_key;
@@ -396,6 +402,11 @@ NTSTATUS gse_gen_client_auth_token(TALLOC_CTX *mem_ctx,
return NT_STATUS_NOT_IMPLEMENTED;
}
+bool gse_require_more_processing(struct gse_context *gse_ctx)
+{
+ return NT_STATUS_NOT_IMPLEMENTED;
+}
+
DATA_BLOB gse_get_session_key(struct gse_context *gse_ctx)
{
return data_blob_null;