(handle_type3): verify that the kdc approved of the ntlm exchange too

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19364 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2006-12-15 20:06:54 +00:00
parent 93482a2b67
commit 5ba324eae7

View File

@@ -164,6 +164,11 @@ handle_type3(OM_uint32 *minor_status,
if (ret) if (ret)
goto out; goto out;
if (krb5_ntlm_rep_get_status(ctx->context, ctx->ntlm) != TRUE) {
ret = EINVAL;
goto out;
}
return GSS_S_COMPLETE; return GSS_S_COMPLETE;
out: out:
*minor_status = ret; *minor_status = ret;