From ead6faab2766b786e124f2086093ef3fa05d115b Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 7 Apr 2011 12:05:58 +0200 Subject: s4-smbtorture: fix lsa forest trust test. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit lsa_lsaRSetForestTrustInformation takes a policy handle obtained from lsaopenpolicy/lsaopenpolicy2 and not a trusted domain handle (MS-LSAD 3.1.4.7.16 LsarSetForestTrustInformation (Opnum 74)). Sumit, please check. Guenther Autobuild-User: Günther Deschner Autobuild-Date: Thu Apr 7 14:52:52 CEST 2011 on sn-devel-104 --- source4/torture/rpc/forest_trust.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/torture/rpc') diff --git a/source4/torture/rpc/forest_trust.c b/source4/torture/rpc/forest_trust.c index 060ac43910..5e3efeba5f 100644 --- a/source4/torture/rpc/forest_trust.c +++ b/source4/torture/rpc/forest_trust.c @@ -189,7 +189,7 @@ static bool test_create_trust_and_set_info(struct dcerpc_pipe *p, } if (ret != false) { - fti.in.handle = &trustdom_handle; + fti.in.handle = handle; fti.in.trusted_domain_name = talloc_zero(tctx, struct lsa_StringLarge); fti.in.trusted_domain_name->string = trust_name_dns; fti.in.highest_record_type = 2; -- cgit