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:
parent
7919b53a30
commit
1cf6624f91
|
@ -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,
|
context_req, target_data_rep, input, new_context, output, context_attr, ts_expiry,
|
||||||
mapped_context, context_data );
|
mapped_context, context_data );
|
||||||
if (context_req & ~supported)
|
if (context_req & ~supported)
|
||||||
{
|
|
||||||
FIXME( "flags 0x%08x not supported\n", 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;
|
if (!context && !input && !credential) return SEC_E_INVALID_HANDLE;
|
||||||
cred_handle = credhandle_sspi_to_gss( credential );
|
cred_handle = credhandle_sspi_to_gss( credential );
|
||||||
|
|
Loading…
Reference in New Issue