1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-03 01:18:10 +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>
(cherry picked from commit 36310650ee)
This commit is contained in:
Stefan Metzmacher 2024-10-10 15:08:01 +02:00 committed by Jule Anger
parent d41a1dbc0b
commit a65ca95d4d

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,