diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-11-12 02:37:51 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:46:14 -0500 |
commit | 4d74d259d806618c1f00af50dfa2925738b84083 (patch) | |
tree | 7a251b679e54afba72434846f850c665416b5074 /source4/torture/smb2/connect.c | |
parent | 56712033d59212c8d72c8d60df885a5764601b7e (diff) | |
download | samba-4d74d259d806618c1f00af50dfa2925738b84083.tar.gz samba-4d74d259d806618c1f00af50dfa2925738b84083.tar.bz2 samba-4d74d259d806618c1f00af50dfa2925738b84083.zip |
r11695: added SMB2-SCAN torture test for scanning for active SMB2 opcodes
(This used to be commit aa3bcf952c4436b488e461a3686955d70c672ce4)
Diffstat (limited to 'source4/torture/smb2/connect.c')
-rw-r--r-- | source4/torture/smb2/connect.c | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/source4/torture/smb2/connect.c b/source4/torture/smb2/connect.c index f76553c019..6a9a803155 100644 --- a/source4/torture/smb2/connect.c +++ b/source4/torture/smb2/connect.c @@ -24,21 +24,9 @@ #include "libcli/raw/libcliraw.h" #include "libcli/smb2/smb2.h" #include "libcli/smb2/smb2_calls.h" -#include "librpc/gen_ndr/ndr_security.h" #include "lib/cmdline/popt_common.h" #include "lib/events/events.h" -#define BASEDIR "\\testsmb2" - -#define CHECK_STATUS(status, correct) do { \ - if (!NT_STATUS_EQUAL(status, correct)) { \ - printf("(%s) Incorrect status %s - should be %s\n", \ - __location__, nt_errstr(status), nt_errstr(correct)); \ - ret = False; \ - goto done; \ - }} while (0) - - /* send a close */ @@ -141,8 +129,8 @@ BOOL torture_smb2_connect(void) return False; } - h1 = torture_smb2_create(tree, "test9.dat"); - h2 = torture_smb2_create(tree, "test9.dat"); + h1 = torture_smb2_create(tree, "test9.dat"); + h2 = torture_smb2_create(tree, "test9.dat"); torture_smb2_close(tree, h1); torture_smb2_close(tree, h2); |