diff options
author | Günther Deschner <gd@samba.org> | 2011-04-07 12:05:58 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2011-04-07 14:52:51 +0200 |
commit | ead6faab2766b786e124f2086093ef3fa05d115b (patch) | |
tree | 7a7aa88cad518c5f550871edd6768c8adcb28022 /source4 | |
parent | 26d67846d47d5d1be54d1a8b045f5293a4a02839 (diff) | |
download | samba-ead6faab2766b786e124f2086093ef3fa05d115b.tar.gz samba-ead6faab2766b786e124f2086093ef3fa05d115b.tar.bz2 samba-ead6faab2766b786e124f2086093ef3fa05d115b.zip |
s4-smbtorture: fix lsa forest trust test.
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 <gd@samba.org>
Autobuild-Date: Thu Apr 7 14:52:52 CEST 2011 on sn-devel-104
Diffstat (limited to 'source4')
-rw-r--r-- | source4/torture/rpc/forest_trust.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |