summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/torture/smb2/connect.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/source4/torture/smb2/connect.c b/source4/torture/smb2/connect.c
index a4f4cb6ba4..4973dcee6f 100644
--- a/source4/torture/smb2/connect.c
+++ b/source4/torture/smb2/connect.c
@@ -200,7 +200,6 @@ BOOL torture_smb2_connect(void)
h1 = torture_smb2_create(tree, "test9.dat");
h2 = torture_smb2_create(tree, "test9.dat");
-// h2 = torture_smb2_create(tree, "test9test9test9t9.dat");
torture_smb2_write(tree, h1);
torture_smb2_close(tree, h1);
torture_smb2_close(tree, h2);
@@ -229,6 +228,12 @@ BOOL torture_smb2_connect(void)
return False;
}
+ status = smb2_keepalive(tree);
+ if (!NT_STATUS_IS_OK(status)) {
+ printf("keepalive failed? - %s\n", nt_errstr(status));
+ return False;
+ }
+
talloc_free(mem_ctx);
return True;