From 027b913a25a174790740684269c87d9c26cba2bc Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Fri, 6 Jul 2012 00:00:04 +0200 Subject: s4-torture: Call lsarpc tests over the correct pipe. --- source4/torture/rpc/schannel.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source4') diff --git a/source4/torture/rpc/schannel.c b/source4/torture/rpc/schannel.c index 30b8a1d1ae..3f72e8c81a 100644 --- a/source4/torture/rpc/schannel.c +++ b/source4/torture/rpc/schannel.c @@ -323,6 +323,10 @@ static bool test_schannel(struct torture_context *tctx, torture_assert(tctx, test_netlogon_ex_ops(p_netlogon, tctx, credentials, creds), "Failed to process schannel secured NETLOGON EX ops"); + /* we *MUST* use ncacn_np for openpolicy etc. */ + transport = b->transport; + b->transport = NCACN_NP; + /* Swap the binding details from SAMR to LSARPC */ status = dcerpc_epm_map_binding(tctx, b, &ndr_table_lsarpc, tctx->ev, tctx->lp_ctx); torture_assert_ntstatus_ok(tctx, status, "epm map"); @@ -338,6 +342,8 @@ static bool test_schannel(struct torture_context *tctx, talloc_free(p_lsa); p_lsa = NULL; + b->transport = transport; + /* we *MUST* use ncacn_ip_tcp for lookupsids3/lookupnames4 */ transport = b->transport; b->transport = NCACN_IP_TCP; -- cgit