kerberos: Don't fail InitializeSecurityContext if there are unsupported flags.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Dmitry Timoshkov 2018-01-25 11:34:08 +08:00 committed by Alexandre Julliard
parent 7919b53a30
commit 1cf6624f91
1 changed files with 0 additions and 3 deletions

View File

@ -471,10 +471,7 @@ static NTSTATUS NTAPI kerberos_SpInitLsaModeContext( LSA_SEC_HANDLE credential,
context_req, target_data_rep, input, new_context, output, context_attr, ts_expiry,
mapped_context, context_data );
if (context_req & ~supported)
{
FIXME( "flags 0x%08x not supported\n", context_req & ~supported );
return SEC_E_UNSUPPORTED_FUNCTION;
}
if (!context && !input && !credential) return SEC_E_INVALID_HANDLE;
cred_handle = credhandle_sspi_to_gss( credential );