diff options
author | Günther Deschner <gd@samba.org> | 2008-10-21 10:23:14 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-10-27 19:33:22 +0100 |
commit | ea886864190e7d3bb9f58260ec854489c4642c86 (patch) | |
tree | c8a944e59d1db1591985df3214f7cead802cfe62 /source4/torture/rpc | |
parent | 36725ec0b4b5fae83404d9b8d97252d0606989fc (diff) | |
download | samba-ea886864190e7d3bb9f58260ec854489c4642c86.tar.gz samba-ea886864190e7d3bb9f58260ec854489c4642c86.tar.bz2 samba-ea886864190e7d3bb9f58260ec854489c4642c86.zip |
s4-lsa: merge lsa_QueryTrustedDomainInfoByName from s3 lsa idl.
Guenther
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r-- | source4/torture/rpc/lsa.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/source4/torture/rpc/lsa.c b/source4/torture/rpc/lsa.c index 87408b816e..56faab0476 100644 --- a/source4/torture/rpc/lsa.c +++ b/source4/torture/rpc/lsa.c @@ -1903,9 +1903,13 @@ static bool test_query_each_TrustDom(struct dcerpc_pipe *p, for (j=0; j < ARRAY_SIZE(levels); j++) { struct lsa_QueryTrustedDomainInfoByName q; - union lsa_TrustedDomainInfo info; + union lsa_TrustedDomainInfo *info = NULL; + struct lsa_String name; + + name.string = domains->domains[i].name.string; + q.in.handle = handle; - q.in.trusted_domain.string = domains->domains[i].name.string; + q.in.trusted_domain = &name; q.in.level = levels[j]; q.out.info = &info; status = dcerpc_lsa_QueryTrustedDomainInfoByName(p, mem_ctx, &q); |