git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e935fc
)
r11907: added testing of SMB2 keepalive
author
Andrew Tridgell
<tridge@samba.org>
Fri, 25 Nov 2005 11:51:47 +0000
(11:51 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:46:47 +0000
(13:46 -0500)
(This used to be commit
6096d23fe0e58b6c3e4174a70a0faebd88fd5f79
)
source4/torture/smb2/connect.c
patch
|
blob
|
history
diff --git
a/source4/torture/smb2/connect.c
b/source4/torture/smb2/connect.c
index a4f4cb6ba4002d66280e44ea8251c53f4e059b7b..4973dcee6f730676039adb1de28e070f7b3f690a 100644
(file)
--- 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;