summaryrefslogtreecommitdiff
path: root/source4/torture/torture.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-11-08 01:21:45 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:05:38 -0500
commitd8565f89b7e42fce569f456a1873866c394d7190 (patch)
tree0ef88e661cf2eb71baf7dc54622c4227db046af4 /source4/torture/torture.c
parente0586efe7abfa427918779042024d7e529f92f49 (diff)
downloadsamba-d8565f89b7e42fce569f456a1873866c394d7190.tar.gz
samba-d8565f89b7e42fce569f456a1873866c394d7190.tar.bz2
samba-d8565f89b7e42fce569f456a1873866c394d7190.zip
r3608: added BASE-DENYDOS test
this test demonstrates how w2k3 handles the special semantics of DENY_DOS when 2 opens happen on the same connection. The 2nd open doesn't actually do a NTFS open, it happens as a secondary reference to the same internal file handle in the CIFS layer. The evidence is that the 2nd open shares the same POSITION_INFORMATION field as the first open, but only for the special DENY_DOS cases that would normally be refused. (This used to be commit eeec57d4f6d18a40e0ce451bfe051b3f699e8337)
Diffstat (limited to 'source4/torture/torture.c')
-rw-r--r--source4/torture/torture.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/torture/torture.c b/source4/torture/torture.c
index 883fe4b017..daf2da9c03 100644
--- a/source4/torture/torture.c
+++ b/source4/torture/torture.c
@@ -2371,6 +2371,7 @@ static struct {
{"BASE-DENY1", torture_denytest1, 0},
{"BASE-DENY2", torture_denytest2, 0},
{"BASE-DENY3", torture_denytest3, 0},
+ {"BASE-DENYDOS", torture_denydos_sharing, 0},
{"BASE-NTDENY1", NULL, torture_ntdenytest1},
{"BASE-NTDENY2", torture_ntdenytest2, 0},
{"BASE-TCON", run_tcon_test, 0},