summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2016-12-14 17:45:19 +1300
committerStefan Metzmacher <metze@samba.org>2016-12-14 11:55:18 +0100
commit380ec1bb72378b7acfe52da25839633016367337 (patch)
tree5ab7a3568c5bf54fde9c1355073cd00e4fcd33bc /source4/torture/rpc
parentecb1f569d7a297dda6ff6ce040d3555a89404fd7 (diff)
downloadsamba-380ec1bb72378b7acfe52da25839633016367337.tar.gz
torture: Use DCERPC_SCHANNEL_AUTO in rpc.schannel.schannel2 test
This allows it to run against modern servers that do not permit NT4 crypto Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r--source4/torture/rpc/schannel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/rpc/schannel.c b/source4/torture/rpc/schannel.c
index da81c52bd5a..08c1b09b076 100644
--- a/source4/torture/rpc/schannel.c
+++ b/source4/torture/rpc/schannel.c
@@ -709,7 +709,7 @@ bool torture_rpc_schannel2(struct torture_context *torture)
struct dcerpc_binding *b;
struct dcerpc_pipe *p1 = NULL, *p2 = NULL;
struct cli_credentials *credentials1, *credentials2;
- uint32_t dcerpc_flags = DCERPC_SCHANNEL | DCERPC_SIGN;
+ uint32_t dcerpc_flags = DCERPC_SCHANNEL | DCERPC_SCHANNEL_AUTO | DCERPC_SIGN;
join_ctx = torture_join_domain(torture, talloc_asprintf(torture, "%s2", TEST_MACHINE_NAME),
ACB_WSTRUST, &credentials1);