summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-05-21 14:28:17 +1000
committerAndrew Bartlett <abartlet@samba.org>2008-05-21 14:28:17 +1000
commit52a3c96a89e63a1998e10670f7836fd1efc8af0e (patch)
tree2a7c8974bcd21f341af87fadcb8daeae002a08fa /source4
parent2f5a1d2b1cfdbfc3d4c7c1e96d1ed061e7970f88 (diff)
downloadsamba-52a3c96a89e63a1998e10670f7836fd1efc8af0e.tar.gz
samba-52a3c96a89e63a1998e10670f7836fd1efc8af0e.tar.bz2
samba-52a3c96a89e63a1998e10670f7836fd1efc8af0e.zip
Extend the NBT-DGRAM torture test again.
Andrew Bartlett (This used to be commit f4154846401b31d99c40b2ea53992262095366b0)
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/nbt/dgram.c1
1 files changed, 1 insertions, 0 deletions
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,