summaryrefslogtreecommitdiff
path: root/source4/torture/torture.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture/torture.c')
-rw-r--r--source4/torture/torture.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/torture/torture.c b/source4/torture/torture.c
index aa4af4b397..4fdfe8ccd5 100644
--- a/source4/torture/torture.c
+++ b/source4/torture/torture.c
@@ -153,6 +153,9 @@ NTSTATUS torture_rpc_connection(struct dcerpc_pipe **p,
pipe_name, nt_errstr(status));
return status;
}
+
+ /* always do NDR validation in smbtorture */
+ (*p)->flags |= DCERPC_DEBUG_VALIDATE_BOTH;
return status;
}