summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-04-17 01:26:40 +0200
committerKarolin Seeger <kseeger@samba.org>2009-04-28 09:11:03 +0200
commit0f7eb7b95d4a72b02312a33970775be575580fb0 (patch)
treebf2e6bbbca89091e66309aa350f1433359364b7e /source4
parent55351d1a2d32737783c66ba2f767423de360277e (diff)
downloadsamba-0f7eb7b95d4a72b02312a33970775be575580fb0.tar.gz
s4-smbtorture: Fix crash in RPC-LSA-LOOKUP
Guenther (cherry picked from commit b0a0d2a0ae16929efa392705c3d7823da16f4d55) (cherry picked from commit a0c16dbb46ef334126db771d7adb908d822eac6d)
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/rpc/lsa_lookup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/torture/rpc/lsa_lookup.c b/source4/torture/rpc/lsa_lookup.c
index 0124ce1741a..be7fe870514 100644
--- a/source4/torture/rpc/lsa_lookup.c
+++ b/source4/torture/rpc/lsa_lookup.c
@@ -88,6 +88,7 @@ static NTSTATUS lookup_sids(TALLOC_CTX *mem_ctx, uint16_t level,
{
struct lsa_LookupSids r;
struct lsa_SidArray sidarray;
+ struct lsa_RefDomainList *domains;
uint32_t count = 0;
uint32_t i;
@@ -108,6 +109,7 @@ static NTSTATUS lookup_sids(TALLOC_CTX *mem_ctx, uint16_t level,
r.in.count = &count;
r.out.names = names;
r.out.count = &count;
+ r.out.domains = &domains;
return dcerpc_lsa_LookupSids(p, mem_ctx, &r);
}