1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

s4:torture/rpc: check that DOWNGRADE_DETECTED has no bits negotiated

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15425

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
This commit is contained in:
Stefan Metzmacher 2024-10-10 15:08:01 +02:00 committed by Douglas Bagnall
parent fdd133ae65
commit 36310650ee

View File

@ -152,6 +152,8 @@ static bool test_ServerAuth3Crypto(struct dcerpc_pipe *p,
a.out.result,
NT_STATUS_DOWNGRADE_DETECTED,
"Unexpected status code");
torture_assert_int_equal(tctx, negotiate_flags, 0,
"NT_STATUS_DOWNGRADE_DETECTED...");
return false;
}
torture_assert_ntstatus_ok(tctx,