summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/rpc/echo.c7
-rw-r--r--source4/torture/torture.c3
2 files changed, 3 insertions, 7 deletions
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 =