From d8cbe76b868eb6f2b3876fa540e0847bd2d4f9d7 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 4 Nov 2003 03:38:46 +0000 Subject: added support for fragmented sends (This used to be commit f51a216136b7cc7d4d07d4acb80e0a710d82841a) --- source4/torture/rpc/echo.c | 7 +------ source4/torture/torture.c | 3 ++- 2 files changed, 3 insertions(+), 7 deletions(-) (limited to 'source4/torture') diff --git a/source4/torture/rpc/echo.c b/source4/torture/rpc/echo.c index 834eb1f678..1d034c48df 100644 --- a/source4/torture/rpc/echo.c +++ b/source4/torture/rpc/echo.c @@ -126,7 +126,7 @@ static BOOL test_sinkdata(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx) int i; NTSTATUS status; char *data_in; - int len = 100; + int len = 200000; printf("\nTesting SinkData\n"); @@ -160,11 +160,6 @@ BOOL torture_rpc_echo(int dummy) return False; } - if (!test_sourcedata(p, mem_ctx)) { - ret = False; - } - return ret; - if (!test_addone(p, mem_ctx)) { ret = False; } diff --git a/source4/torture/torture.c b/source4/torture/torture.c index 8dc82242a2..bb5741c54f 100644 --- a/source4/torture/torture.c +++ b/source4/torture/torture.c @@ -157,7 +157,8 @@ NTSTATUS torture_rpc_connection(struct dcerpc_pipe **p, const char *pipe_name) STD_RIGHT_READ_CONTROL_ACCESS | SA_RIGHT_FILE_WRITE_ATTRIBUTES | SA_RIGHT_FILE_WRITE_EA | - GENERIC_RIGHTS_FILE_READ; + GENERIC_RIGHTS_FILE_READ | + GENERIC_RIGHTS_FILE_WRITE; open_parms.ntcreatex.in.file_attr = 0; open_parms.ntcreatex.in.alloc_size = 0; open_parms.ntcreatex.in.share_access = -- cgit