From 52a3c96a89e63a1998e10670f7836fd1efc8af0e Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 21 May 2008 14:28:17 +1000 Subject: Extend the NBT-DGRAM torture test again. Andrew Bartlett (This used to be commit f4154846401b31d99c40b2ea53992262095366b0) --- source4/torture/nbt/dgram.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source4/torture/nbt/dgram.c') diff --git a/source4/torture/nbt/dgram.c b/source4/torture/nbt/dgram.c index 66a3d142db..f8f9eaf884 100644 --- a/source4/torture/nbt/dgram.c +++ b/source4/torture/nbt/dgram.c @@ -246,6 +246,7 @@ static bool nbt_test_netlogon2(struct torture_context *tctx) map_netlogon_samlogon_response(&response->samlogon); torture_assert_int_equal(tctx, response->samlogon.nt5_ex.command, LOGON_SAM_LOGON_RESPONSE_EX, "Got incorrect netlogon response command"); + torture_assert_int_equal(tctx, response->samlogon.nt5_ex.nt_version, NETLOGON_NT_VERSION_5EX_WITH_IP|NETLOGON_NT_VERSION_5EX|NETLOGON_NT_VERSION_5|NETLOGON_NT_VERSION_1, "Got incorrect netlogon response command"); /* setup (another) temporary mailslot listener for replies */ dgmslot = dgram_mailslot_temp(dgmsock, NBT_MAILSLOT_GETDC, -- cgit